I am creating a product detail page which has 5-10 image slides in a slider using while a loop. It is working and shows the images by clicking on the next/prev buttons. But it n