NextGEN Gallery
Some thumbnails not displayed in Nextgen Manage Gallery (3 posts)

  1. Toshi Yoshida
    Posted 3 years ago #

    At NextGen 1.9.3 some thumbnails have diasppeared when looking at a gallery using the Manange Gallery part of Nextgen. They do however appear on the website itself and work correctly.

    It appears that the thumbnails that have disappeared relate to images with SPACES in the filename. Filenames without spaces in them still show thumbnails.

  2. imagiro
    Posted 3 years ago #

    I have EXACTLY the same problem as you do.
    I'm wondering if anyone found a way to fix it.

  3. joeyetheredge
    Posted 3 years ago #

    In the file nextgen-gallery/admin/manage-images.php there are several lines that construct a URL for an image and sanitize the URL with the esc_url function. The function removes spaces from the URL - it also cleans other garbage out of the URL to help keep the links clean. As a quick fix you might remove the calls to the esc_url function. The URLs will no longer be sanitized and the spaces will no longer be a problem - but the URLs wont be as clean.

    See http://codex.wordpress.org/Function_Reference/esc_url for information about the other cleaning that that esc_url function may be doing for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic