No thumbnails are being created - full size images and resized images being created just fine

bigwreck232000

Joined: 2008-09-23
Posts: 2
Posted: Tue, 2008-09-23 22:10

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL: http://www.apollowindowsanddoors.com/gallery
Gallery version: v 1.5.9
PHP version: php 4.4
Graphics Toolkit: Image Magick and Netpbm
Operating system: Unix

I've been reading about a similar issue others have had getting the gallery to produce thumbnails. The only solution even presented on the forum was to make sure there was a maximum resize size set, or that it was set to zero. Zero is the default and I've done that, yet Its still not producing any thumbnails. Full size and resized images show up fine. Below is the debug results when uploading an image using the FORM method:

The image is called New_York_Fireboat_2

save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Processing 1 element.
albumItem.php::666 -> Start processing single file (image/movie not archive).
albumItem.php::669 -> Extension is accepted.
albumItem.php::671 -> Filename processing.
albumItem.php::720 -> No caption given, generating it.
albumItem.php::479 -> Generated caption. Type: filename
Adding New York Fireboat 2.jpg
Album.php::1313 -> Doing the naming of the physical file.
Album.php::1351 -> Image preprocessing
Album.php::1356 -> Resizing/compressing original file
imageManipulation.php::37 -> Resizing Image: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg.
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
imageManipulation.php::73 -> No resizing required.
imageManipulation.php::676 -> File /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg type 2.
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
AlbumItem.php::697 -> Generating thumbnail.
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
imageManipulation.php::640 -> Generating squared version to 150 pixels.
imageManipulation.php::573 -> Cropping Image
util.php::182 -> Executing: '/usr/local/bin/convert' -crop 768x768+128+0 -page +0+0 '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg' '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.thumb.jpg'

Results:

none

Debug messages:

sh: /usr/local/bin/convert: No such file or directory

Status: 127 (expected 0)Source
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
Dest
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.thumb.jpg
util.php::239 -> The file does not exist?!
imageManipulation.php::37 -> Resizing Image: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg.
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
imageManipulation.php::797 -> Compressing image: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
util.php::182 -> Executing: '/usr/local/bin/convert' -quality 50 -resize 150x150 '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg' '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.thumb.jpg'

Results:

none

Debug messages:

sh: /usr/local/bin/convert: No such file or directory

Status: 127 (expected 0)
util.php::620 -> Got no capture date. Using file modification time.
util.php::631 -> Item Capture Date: Tue Sep 23 15:08:29 2008
imageManipulation.php::37 -> Resizing Image: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg.
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
imageManipulation.php::797 -> Compressing image: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
util.php::182 -> Executing: '/usr/local/bin/convert' -quality 70 -resize 150x150 '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg' '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.highlight.jpg'

Results:

none

Debug messages:

sh: /usr/local/bin/convert: No such file or directory

Status: 127 (expected 0) - Creating resized intermediate Version of New_York_Fireboat_2
imageManipulation.php::37 -> Resizing Image: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg.
util.php::236 -> Getting Dimension of file: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
imageManipulation.php::797 -> Compressing image: /var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg
util.php::182 -> Executing: '/usr/local/bin/convert' -quality 90 -resize 640x640 '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.jpg' '/var/hsphere/local/home/apollowi/apollowindowsanddoors.com/gallery/albums/ApolloGreenProducts/New_York_Fireboat_2.sized.jpg'

Results:

none

Debug messages:

sh: /usr/local/bin/convert: No such file or directory

Status: 127 (expected 0)
Album.php::1444 -> Check if image needs to be rotated

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-09-24 08:35
Quote:
sh: /usr/local/bin/convert: No such file or directory

You told Gallery to use ImageMagick and that it lies at /usr/local/bin/
But acutally it does not.

Can you verify this?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
bigwreck232000

Joined: 2008-09-23
Posts: 2
Posted: Wed, 2008-09-24 14:13

If it didn't rest at that location wouldn't the final config page throw back an error? I got through all the config steps with no errors? I could be wrong about that though, perhaps it just trusts that whatever path you provide is correct. Let me know if thats the case or if I need to make sure the path is right.