Title: [Plugin: NextGEN Gallery] loop through images
Last modified: August 20, 2016

---

# [Plugin: NextGEN Gallery] loop through images

 *  [ripcurlksm](https://wordpress.org/support/users/ripcurlksm/)
 * (@ripcurlksm)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-loop-through-images/)
 * I have a gallery setup within an album that has two images with “previous” and“
   next” buttons, as seen here:
    [http://www.scalpmicropigment.com/?page_id=77&album=1&gallery=11&pid=9999](http://www.scalpmicropigment.com/?page_id=77&album=1&gallery=11&pid=9999)
 * Instead of the previous and next buttons, Id rather just loop through the images
   in the gallery and have the page look like this with each image underneath each
   other:
    [http://www.scalpmicropigment.com/smp1.jpg](http://www.scalpmicropigment.com/smp1.jpg)
 * I’ve poked around in the code and unfortunately I am not the most versed in Object
   Orientated PHP, but I’ve found the code that displays the image in:
    /view/imagebrowser.
   php – line 36 (<?php echo $image->href_link ?>) /core/image.php – line 104 (inside
   function get_href_link())
 * How can I easily loop through all the images on the page to display them underneath
   each other instead of using the forward and back function?
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

The topic ‘[Plugin: NextGEN Gallery] loop through images’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ripcurlksm](https://wordpress.org/support/users/ripcurlksm/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-loop-through-images/)
 * Status: not resolved