• Installed NextGen Gallery today on a new site. Uploaded some test images to a new gallery, and got “A failure occurred” on every one. The images did upload, they’re viewable, but no thumbnails.

    Tried to resize the images to 800×600, same error.
    Tried to recreate thumbs, same error.

    No idea what failure or why, so can’t resolve it alone! Would really appreciate a hint…

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter whammybar

    (@whammybar)

    OK. More info.

    File size of each image was approx. 800k. Actual size approx. 3200×2400 pixels. Thought they might be too big.

    Tried a different set of pictures, 1024x768px, filesizes approx. 200k, worked fine.

    Set options to reduce image size on upload and not backup originals. Tried again with the larger files.

    Now runs through upload dialog, apparently uploading each each file. After last file is uploaded, the plage blanks except for title and sidebar. Nothing else happens, even if left.

    Checking the gallery, only one picture is uploaded and has no thumbnail. Can’t create a thumbnail.

    Is there a filesize limit that isn’t mentioned?
    Is there an image size limit?
    Something else?

    Check to see if you can run ImageMagick. Option is under General Options.

    GD can be limited in what it can do. Especially if you give it a long list of photos to work with. It seemed to time out for me a lot sometimes giving errors and sometimes not. When I switched to ImageMagick, which doesn’t put as much drain on your server as GD does, then everything (uploads, thumb creation) worked great.

    Paul

    Thread Starter whammybar

    (@whammybar)

    Hi Paul, and thanks for answering the question!

    I have selected ImageMagick and uploaded a few images. Now I still get the “A failure occurred” error, but at least there’s a [more] link!

    The actual error now is “Could not execute ImageMagick. Please check path”

    Looks like my installation doesn’t support ImageMagick. Back to square one… but thanks anyway!

    I don’t want to manually code it in (I found some stuff about doing that by Googling it) and I’d really like to understand why the smaller images are OK and what the break point is sizewise.

    Any other ideas out there?

    Nextgen is guessing as to what path ImageMagick is located in. Maybe contacting your webhost might either give you the right path or get them to install the module. I’ve seen stranger things happen :).

    Smaller images are OK because they don’t require as much memory on your server. When you start trying to resize larger photos using the GD library than you will quickly run out of memory and it seems that if you try and manipulate a few large photos in a row it doesn’t release memory quick enough to get to the next photo. Or atleast that has been my experience on the one graphic manipulation project that I have done.

    I would bombard your webhost with requests for ImageMagick. It doesn’t take that much to install.

    Paul

    Thread Starter whammybar

    (@whammybar)

    Hi again

    Yes, I checked for Image Magick in the Webhost’s FAQ, they do support it and the path is correct… but (sigh) I still get the error, which is a “check the path” error.

    I’ve notified the Webhost. It wouldn’t be the first time the FAQ was out of date! ;o)

    I’ve now tried uploading images 800×600 and only 91k … three at a time, so I’m pretty sure it isn’t a memory problem. I’ve noticed some people went back to an earlier version of NextGen and their (similar) problems went away… but I don’t have an earlier installer saved.

    Just waiting on the Webhost to respond now…

    Rob

    You could check the Overview page in the NextGen admin and it will tell you how much memory you have at your disposal. 128 or more and your probably right in looking elsewhere.

    By the way you can find all the earlier version of Nextgen here.

    Thread Starter whammybar

    (@whammybar)

    Thanks Paul

    Memory looks OK as you suggest. Still waiting for response from the Host.

    Thanks for the old versions link. That might just come in very handy!

    Rob

    Thread Starter whammybar

    (@whammybar)

    OK, info from host:

    ” The correct path is “/usr/bin/convert” – Convert is the executable, not a folder. Please remove the trailing “/” and this should work. “

    However, saving the options puts the “/” back at the end of the line. Hmmm. I hate it when what I want is over-ridden by automation. How do other people get this working if this is the case?

    Robert

    did you sort this problem coz I have the same problem?

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: NextGEN Gallery] A failure occurred’ is closed to new replies.