[SOLVED] Unable to create thumbnails
grimbasement
Joined: 2008-04-18
Posts: 4 |
Posted: Fri, 2009-10-30 18:21 |
I've been trying to figure out why I'm unable to create thumbs. Here's a bit of background I had the gallery set up since version 1 without an issue until the most recent upgrade when the entire thing just blew up. So I uninstalled gallery moved all the directories to another directory, reinstalled and uploaded all the images using the from local server option. All the pictures transferred but without creating any thumbnails. I checked to make sure if ImageMagick was installed, I also followed the directions in this thread but was unclear what "flag" I was looking for when I looked at the db in phpMyAdmin. I changed a few of the values in the dirivative g_isbroken to one (1) but I don't want to have to change them individually (If it will even work). I also ran the maintenance to rebuild the thumbnails. So if anyone has any idea as to how I can proceed I'd be appreciative. LMK what other logs you'd like to see. |
|
Posts: 16504
Let's simplify a few things first:
Login and go to Site Admin > Plugins, then uninstall the following
ArchiveUpload
Exif
Getid3
jpegtran
LinkItemToolkit
SquareThumb
Thumbnail
Now for image toolkits you should only have ImageMagick installed. Go to Site Admin > ImageMagick and click Test Settings. Does it pass everything?
If so, go to Site Admin > Maintenance and rebuild your thumbnails and resizes.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
I guess I should have pointed out that imagemagick tests all check out fine. I uninstalled all of the plugins except imagemagick and the Linkitem toolkit as I didn't see that on in the list... I ran the thumbnail create script from the maintenance menu and still fails to create the thumbs...
As one might expect the thumbnail error output for a >3000 item gallery is pretty long but here's a bit of it:
Posts: 16504
Under Site Admin > ImageMagick what version does it say is installed?
Looks like it's either an older version that doesn't have this option or it was compiled without it for some reason. Here's what it does:
http://www.imagemagick.org/script/command-line-options.php#strip
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
It's ImageMagick 5.5.1
Posts: 16504
That's old, very old. Looks like that was releasesd in Oct of 2002. I'd ask your host if they can upgrade that. 6.5.7-3 is the current version.
Doing a bit more searching, it looks like the strip option was added with the 6.x version.
If not, you could edit a file in Gallery's core. First try your host though. If they won't upgrade the ancient software that has known security holes in it, I'd consider finding a new host. But I can guide you through what to edit so Gallery doesn't use the -strip option.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
I put in a support request to the hosting service and they upgrade the imagemagick module so now everything works. Consider this issue resolved.