No thumbnails processed or visible

peterflat

Joined: 2008-11-23
Posts: 5
Posted: Mon, 2008-11-24 16:14

Gallery version: 1.5.10
Apache version: ??
PHP version: 4.4.2
Graphics Toolkit: Netpbm
Operating system: Linux cornflower.propagation.net 2.4.30-cisec-p5 #49 SMP Tue Jun 7 13:26:43 CDT 2005 i686
Web browser/version (if applicable): firefox

after adding a new gallery and uploading 1 photo, the full size version of the photo is present on the server but no thumbnail is generated. I've tried both imagemagick and netpbm with the same results.

debug code from upload (form mode):

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 2935_test-1_full.jpg
Album.php::1312 -> Doing the naming of the physical file.
Album.php::1350 -> Image preprocessing
Album.php::1355 ->    Resizing/compressing original file
imageManipulation.php::37 -> Resizing Image: /home/www/______________/_assets/album03/2935_test_1_full.jpg.
util.php::237 -> Getting Dimension of file: /home/www/______________/_assets/album03/2935_test_1_full.jpg
imageManipulation.php::73 ->    No resizing required.
imageManipulation.php::676 -> File /home/www/______________/_assets/album03/2935_test_1_full.jpg type 2.
util.php::237 -> Getting Dimension of file: /home/www/______________/_assets/album03/2935_test_1_full.jpg
AlbumItem.php::697 -> Generating thumbnail.
AlbumItem.php::778 -> Generating normal thumbs.
imageManipulation.php::37 -> Resizing Image: /home/www/______________/_assets/album03/2935_test_1_full.jpg.
util.php::237 -> Getting Dimension of file: /home/www/______________/_assets/album03/2935_test_1_full.jpg
imageManipulation.php::797 -> Compressing image: /home/www/______________/_assets/album03/2935_test_1_full.jpg
util.php::183 -> Executing: '/usr/bin/convert' -quality 75 -resize 150x150 '/home/www/______________/_assets/album03/2935_test_1_full.jpg' '/home/www/______________/_assets/album03/2935_test_1_full.thumb.jpg'

Results:
none

Debug messages:
convert: Unrecognized option (-resize).

Status: 154 (expected 0)
util.php::621 -> Got no capture date. Using file modification time.
util.php::632 -> Item Capture Date: Mon Nov 24 10:11:58 2008
imageManipulation.php::37 -> Resizing Image: /home/www/______________/_assets/album03/2935_test_1_full.jpg.
util.php::237 -> Getting Dimension of file: /home/www/______________/_assets/album03/2935_test_1_full.jpg
imageManipulation.php::797 -> Compressing image: /home/www/______________/_assets/album03/2935_test_1_full.jpg
util.php::183 -> Executing: '/usr/bin/convert' -quality 70 -resize 200x200 '/home/www/______________/_assets/album03/2935_test_1_full.jpg' '/home/www/______________/_assets/album03/2935_test_1_full.highlight.jpg'

Results:
none

Debug messages:
convert: Unrecognized option (-resize).

Status: 154 (expected 0) - Creating resized intermediate Version of 2935_test_1_full
imageManipulation.php::37 -> Resizing Image: /home/www/______________/_assets/album03/2935_test_1_full.jpg.
util.php::237 -> Getting Dimension of file: /home/www/______________/_assets/album03/2935_test_1_full.jpg
imageManipulation.php::797 -> Compressing image: /home/www/______________/_assets/album03/2935_test_1_full.jpg
util.php::183 -> Executing: '/usr/bin/convert' -quality 90 -resize 640x640 +profile '*' '/home/www/______________/_assets/album03/2935_test_1_full.jpg' '/home/www/______________/_assets/album03/2935_test_1_full.sized.jpg'

Results:
none

Debug messages:
convert: Unrecognized option (-resize).

Status: 154 (expected 0)
Album.php::1443 -> Check if image needs to be rotated
Item successfully added.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-11-25 23:45

Hi,

what does the ImageMagick Test (Setup -> Diagnostic) say?

Jens
--
Gallery Developer

 
peterflat

Joined: 2008-11-23
Posts: 5
Posted: Mon, 2008-12-01 21:40

We are going to test each ImageMagick binary individually.
Checking: '/usr/bin/identify' Expected status: 0, but actually received status 154.
Checking: '/usr/bin/convert' OK! Version: @(#)ImageMagick 5.4.2 01/01/02 Q:16
Checking: '/usr/bin/composite' OK! Version: @(#)ImageMagick 5.4.2 01/01/02 Q:16

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-12-02 17:54

oha.

can you reinstall an/or update ImageMagick?
Your Version is sort of old.

Jens
--
Gallery Developer

 
peterflat

Joined: 2008-11-23
Posts: 5
Posted: Wed, 2008-12-03 17:31

yes,

can you point me to the right one? i tried the links from the top level of this site and had trouble figuring which version i should use for the server i'm working with.

 
peterflat

Joined: 2008-11-23
Posts: 5
Posted: Wed, 2008-12-03 18:23

i grabbed imagemagick version 6.3.7

so i created a local version of the imagemagick binaries, and the diagnostic page now says:

We are going to test each ImageMagick binary individually.
Checking: '/home/www/________/_admin3/imagemagick/identify' Expected status: 0, but actually received status 127.
Checking: '/home/www/________/_admin3/imagemagick/convert' Expected status: 0, but actually received status 127.
Checking: '/home/www/________/_admin3/imagemagick/composite' Expected status: 0, but actually received status 127.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2008-12-06 11:39

You need to install the correct ImageMagick for your distribution.

Jens
--
Gallery Developer

 
peterflat

Joined: 2008-11-23
Posts: 5
Posted: Fri, 2008-12-12 22:20

how do i know which version of imagemagick to install?