Title: singlepic shortcode stopped working
Last modified: January 12, 2023

---

# singlepic shortcode stopped working

 *  Resolved [Jesq](https://wordpress.org/support/users/jesq/)
 * (@jesq)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/)
 * Recently all of the photos that I posted using the “singlepic” shortcode no longer
   show up as actual images. They now just show up as hyperlinked image file names
   that open in lightbox. I have tried changing every setting possible to get the
   images to show up in the post how they used to, with no success. I’m currently
   stumped. Any help would be much appreciated. Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsinglepic-shortcode-stopped-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16365271)
 * Hi [@jesq](https://wordpress.org/support/users/jesq/),
 * Even though Singlepic feature isn’t officially supported ( as a regular gallery
   display type ) – we have tested it and it worked for us so perhaps there’s a 
   local problem while dynamic thumbnails are being generated.
 * Not sure if this is going to help but could you please access **“NextGen Gallery-
   > Other Options -> Miscellaneous”** and press **“Clear image cache”** then try
   reloading the page containing singlepic images to see if NGG will succeed automatically
   generating the thumbnails?
    -  This reply was modified 3 years, 5 months ago by [Imagely](https://wordpress.org/support/users/imagely/).
    -  This reply was modified 3 years, 5 months ago by [Imagely](https://wordpress.org/support/users/imagely/).
 *  Thread Starter [Jesq](https://wordpress.org/support/users/jesq/)
 * (@jesq)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16371069)
 * Thank you for the suggestion. I reset all of the settings, then cleared the image
   cache per your directions, but it did not appear to resolve the issue. Any other
   ideas? Thanks again.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16374483)
 * Hi [@jesq](https://wordpress.org/support/users/jesq/),
 * Could you please double check to make sure that your site doesn’t use **CDN**
   for the images and that you use** “Post Name”** permalinks within **“Settings-
   > Permalinks”**?
 *  Thread Starter [Jesq](https://wordpress.org/support/users/jesq/)
 * (@jesq)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16381429)
 * Hi! Yes, I can confirm that I don’t use a CDN. I was using date and post name
   for permalinks. I set it to post name, only. It did not appear to resolve the
   issue. Thanks again.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16381601)
 * Hi [@jesq](https://wordpress.org/support/users/jesq/),
 * I am wondering if adding the constant from below to your site’s **wp-config.php**
   will solve it:
 *     ```wp-block-code
       define('NGG_DISABLE_DYNAMIC_IMG_URLS', true);
       ```
   
 *  Thread Starter [Jesq](https://wordpress.org/support/users/jesq/)
 * (@jesq)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16381659)
 * I gave it a try, and it produced the following error where the post containing
   the first “singlepic” shortcode appears–
 * **lsolesen\pel\PelException thrown**
 * Can not open file “/var/www/vhosts/jakesmag.com/httpdocs/wp-content/gallery/2013/
   may/cache/2013-shotbyjake.com-3788.jpg-nggid041205-ngg0dyn-0x0x100-00f0w010c010r110f110r010t010.
   jpg”
 * I feel like it is worthy to note that the “cache” directory does not appear to
   exist in that path. Is is possible that the plugin was unable to create that 
   directory? Permissions are currently set to 755.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16384151)
 * Hi [@jesq](https://wordpress.org/support/users/jesq/),
 * Could you please let us know if you host your site with a Windows ( IIS ) server?
 *  Thread Starter [Jesq](https://wordpress.org/support/users/jesq/)
 * (@jesq)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16393189)
 * It is a CentOS Linux 7.9.2009 server
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16399389)
 * Hi [@jesq](https://wordpress.org/support/users/jesq/),
 * Please feel free to reach out to our support team directly at [https://www.imagely.com/report-bug/](https://www.imagely.com/report-bug/)
   and we’ll have a direct look at the problem to see if there’s anything we can
   suggest.
 * Thanks

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

The topic ‘singlepic shortcode stopped working’ 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

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

 * 9 replies
 * 2 participants
 * Last reply from: [Imagely](https://wordpress.org/support/users/imagely/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/singlepic-shortcode-stopped-working/#post-16399389)
 * Status: resolved