WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] Some thumbnails not displayed in Nextgen Manage Gallery

[Plugin: NextGEN Gallery] Some thumbnails not displayed in Nextgen Manage Gallery

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have EXACTLY the same problem as you do.
    I’m wondering if anyone found a way to fix it.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] Some thumbnails not displayed in Nextgen Manage Gallery’ is closed to new replies.
Skip to toolbar