Title: Get photos array from gallery
Last modified: September 1, 2016

---

# Get photos array from gallery

 *  Resolved [andreimocanu](https://wordpress.org/support/users/andreimocanu/)
 * (@andreimocanu)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-photos-array-from-gallery/)
 * Hi. Is there a way to get an array with the ID’s of all photos from a gallery?
 * [https://wordpress.org/plugins/envira-gallery-lite/](https://wordpress.org/plugins/envira-gallery-lite/)

Viewing 1 replies (of 1 total)

 *  [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-photos-array-from-gallery/#post-7542167)
 * Hi 🙂
 * You can certainly do that with a custom function in your functions.php or single.
   php file. Unfortunately that would be custom work in which you would need to 
   hire a developer for.
 * Thanks

Viewing 1 replies (of 1 total)

 The topic ‘Get photos array from gallery’ is closed to new replies.

 * ![](https://ps.w.org/envira-gallery-lite/assets/icon-256x256.png?rev=2022837)
 * [Envira Gallery - Image Photo Gallery, Albums, Video Gallery, Slideshows & More](https://wordpress.org/plugins/envira-gallery-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/envira-gallery-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/envira-gallery-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/envira-gallery-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/envira-gallery-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/envira-gallery-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/get-photos-array-from-gallery/#post-7542167)
 * Status: resolved