WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
problem with spaces in image filenames (2 posts)

  1. retroj
    Member
    Posted 1 year ago #

    Hello, I have encountered a bug in NextGen 1.9.6 when image filenames contain spaces, and possibly apostrophes. I had some image filenames that looked like this:

    "Foo'Bar 2012 001.JPG"

    Thumbnails for these images would not appear in the nggallery-manage-gallery administration page, and if I click on the image name, I get a 404 error:

    The requested URL /wp-content/gallery/2012/Foo'Bar2012001.JPG was not found on this server.

    NextGen appears to be stripping out the spaces instead of url-encoding the filename for the link.

    I renamed my files, taking out the spaces and the apostrophe, and after that it worked properly. I did not do an isolated test to see if the presence of an apostrophe had anything to do with it.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. pixelmac
    Member
    Posted 1 year ago #

    I got the same issue, can someone please help ?
    How to fix spaces in image filename with nextgen gallery ?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.