Title: Display default preview image
Last modified: August 20, 2016

---

# Display default preview image

 *  [darkscot](https://wordpress.org/support/users/darkscot/)
 * (@darkscot)
 * [15 years ago](https://wordpress.org/support/topic/display-default-preview-image/)
 * What php code can I use in my template so that a page will show the default preview
   image of a gallery? I don’t want to specify an ID.

The topic ‘Display default preview image’ 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: [darkscot](https://wordpress.org/support/users/darkscot/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/display-default-preview-image/)
 * Status: not resolved