Title: tomdelonge's Replies | WordPress.org

---

# tomdelonge

  [  ](https://wordpress.org/support/users/tomdelonge/)

 *   [Profile](https://wordpress.org/support/users/tomdelonge/)
 *   [Topics Started](https://wordpress.org/support/users/tomdelonge/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tomdelonge/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tomdelonge/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tomdelonge/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tomdelonge/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tomdelonge/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [using images in a lightbox for a post](https://wordpress.org/support/topic/using-images-in-a-lightbox-for-a-post/)
 *  Thread Starter [tomdelonge](https://wordpress.org/support/users/tomdelonge/)
 * (@tomdelonge)
 * [15 years ago](https://wordpress.org/support/topic/using-images-in-a-lightbox-for-a-post/#post-2042863)
 * Ok perfect idea – I’ll use the gallery functionality.
 * I’m trying to custom build the lightbox stuff (well use a jquery plugin but not
   a wordpress plugin).
 * In the template, how can I access each image associated with the post?
 * For example, the home page right now in the template loops through recent posts
   and displays their featured image. I need to loop through each post and then 
   loop through each of their gallery images so I can output some links to each 
   image. How (from a template) do I access a post’s gallery and that gallery’s 
   images?

Viewing 1 replies (of 1 total)