Title: singlepic shortcode always shows the same image
Last modified: August 22, 2016

---

# singlepic shortcode always shows the same image

 *  Resolved [GermanSC](https://wordpress.org/support/users/germansc/)
 * (@germansc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/)
 * Hello.
    If I use the singlepic shortcode it shows always the first image from
   the first gallery. I tried to change the custom sort to ascending, and it works,
   but I would like to sort in descending mode. How I could fix this?
 * I’m on WP 4.0 with the 2.0.66.27 version of NextGen.
 * Thanks!
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265064)
 * I just noticed this exact same issue with images in an existing post after updating
   to Version 2.0.66.27 (WP v. 4.0).
 * The images were inserted individually using the singlepic shortcode. They all
   had unique image IDs, but when rendered they all showed the exact same image,
   from a totally different gallery.
 * I had to re-embed the images by URL to resolve the issue (quicker that inserting
   via NGG).
 * Just discovered another page with all the same pics!!! Not providing link since
   I’m off to fix that now…
 * :-\
 *  [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265066)
 * Found two more posts and pages messed up so far!!!
 * Here’s an example:
    [http://www.liveworkdream.com/2014/07/02/what-is-workamping/](http://www.liveworkdream.com/2014/07/02/what-is-workamping/)
 * All images except the first are inserted via singlepic like the following, each
   with their own unique ID…
 * `[singlepic id=1218 w=420 h=315 float=center]`
 * But ALL images are displaying ID #1
 * [@photocrati](https://wordpress.org/support/users/photocrati/)???
 * There appears to be no way to search for images by ID so how are we supposed 
   to fix this!?!?!?
 *  [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265067)
 * I just confirmed image ID 1 is being displayed for ALL singlepic shortcodes.
 * Deactivating/reactivating plugin and clearing cache did not help.
 *  [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265070)
 * I am fixing all the posts I can find having this issue (and there are many), 
   so the link I provided above may no longer show what’s going on.
 * Just in case anyone from [@photocrati](https://wordpress.org/support/users/photocrati/)
   is interested in troubleshooting the problem, I have a published a new post at:
 * [http://www.liveworkdream.com/2006/04/20/ngg-singlepic-display-issue/](http://www.liveworkdream.com/2006/04/20/ngg-singlepic-display-issue/)
 * All the images in this post are from different galleries, with their own unique
   IDs, but they all display image ID 1.
 *  Thread Starter [GermanSC](https://wordpress.org/support/users/germansc/)
 * (@germansc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265100)
 * As I said, if you changes the sorting mode to Descending, then works fine. But
   that’s just a temporary fix, because I would like to sort them ascending.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265155)
 * [@germansc](https://wordpress.org/support/users/germansc/) – We have just found
   this to be an issue. We believe we have a patch for this but it is a bit involved
   as it is a “diff” that you will need to apply to your site.
 * If you are interested in the “diff” please send us a Bug Report ([http://www.nextgen-gallery.com/report-bug/](http://www.nextgen-gallery.com/report-bug/)…
   please reference this topic) with your site specifics and we will get the information
   out to you.
 * [@agreda](https://wordpress.org/support/users/agreda/) – Please feel free to 
   follow the above or start a new topic if your issue is actually different than
   the OP.
 * Thanks!
 * – Cais.
 *  Thread Starter [GermanSC](https://wordpress.org/support/users/germansc/)
 * (@germansc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265156)
 * I just sent a Bug Report.
    Thanks!
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265177)
 * [@germansc](https://wordpress.org/support/users/germansc/) – Thanks! I believe
   I have already responded to your report earlier today.
 * Please let us know if it helps … either here or in the Bug Report conversation.
 * – Cais.
 *  Thread Starter [GermanSC](https://wordpress.org/support/users/germansc/)
 * (@germansc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265197)
 * The “diff” works for me.
    I mark this topic as solved. Thank you!
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265207)
 * [@germansc](https://wordpress.org/support/users/germansc/) – Thanks for the update!
 * – Cais.
 *  [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265209)
 * Just confirming if this will be resolved in the next update…
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265214)
 * [@agreda](https://wordpress.org/support/users/agreda/) – Yes, the changes in 
   the “diff” have been committed to the next major release’s development branch.
 * – Cais.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘singlepic shortcode always shows the same 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/)

## Tags

 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [singlepic](https://wordpress.org/support/topic-tag/singlepic/)

 * 12 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/singlepic-shortcode-always-shows-the-same-image/#post-5265214)
 * Status: resolved