Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Images No Longer Loading In Posts or Galleries

  • I apologize if this is a double post but I forgot to include the URL of my site in my previous post and can’t find the original post on the forum to post a reply which includes it.

    To repeat the problem, a couple of days ago I updated to the version of NextGen which removed flash capability due to the security flaw at which point the images inside my posts and within my galleries stopped loading. Today I updated to the latest version of the plugin, updated to the latest version of WP and cleared my browser cache but nothing changed. Features such as the ‘featured image’ on the front page still work fine, it’s just the images within each post that do not load.

    A good example would be this post: http://www.otakureview.net/?p=13951

    I am curious to know if this is something within my settings that I can fix on my own or not.

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author photocrati

    (@photocrati)

    @otakureview – You could try adding the following to your theme’s functions.php file:

    add_filter('ngg_get_image_url', 'ngg_replace_plus_with_percenttwenty', 10, 3);
    function ngg_replace_plus_with_percenttwenty($url, $image, $size) {
        return str_replace('+', '%20', $url);
    }

    It appears you are using spaces in your file names and that could be an issue for your particular server’s settings.

    – Cais.

    PS: If the above corrects the problem you will need to use that code in every theme you use while you remain with that hosting service.

    I have the same problem after an update to 2.0.79 from 1.9.13 on a site with thousands of images/galleries/albums – none of the thumbnails were showing on the back-end. I found this post, added the function to my functions.php file ….and that’s sorted this problem out with images with spaces in filenames. However there are major problems on the front-end still as an album will show with it’s galleries listed but if you click on a gallery it does nothing (in some instances) and others it takes you to a page where it comes up with “no images were found” like here:

    http://www.eventingworldwide.com/xc-courses-available/2be80-courses/

    I have tried:
    1) clearing browser cache
    2) regenerating thumbnails
    3) refreshing site permalinks

    The strange thing is (newer) galleries are working fine as in at the bottom of this post: http://www.eventingworldwide.com/event-reports/tweseldown-12th-15th-march/

    Also when inserting an album using the new method using the visual editor I am getting an exclamation mark as the thumbnail. Anybody know what this is about??

    There now seems to be a completely different way of inserting albums/galleries into posts – now hooked to an image where previously it was a shortcode. Will the legacy method continue to work indefinitely or do we need to go through and replace every single one?

    PHP 5.3.1
    Wordpress 4.1.1
    Nextgen 2.0.79
    Custom Theme (which I can’t switch as it’s a live site)

    Plugin Author photocrati

    (@photocrati)

    @westbrookcreative – It would be best to start a new topic to address the differences in the issues you are seeing, but to start I would suggest looking at this article first: http://codex.wordpress.org/Managing_Plugins#Troubleshooting

    Thanks!

    – Cais.

    Plugin Author photocrati

    (@photocrati)

    @westbrookcreative – PS: It would seem you have already submitted a Bug Report (of a sort) on this, let’s carry the conversation on there for the time being rather than splinter it across multiple venues.

    Thanks!

    – Cais.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images No Longer Loading In Posts or Galleries’ is closed to new replies.