[SOLVED]Thumbnails don't generate for images larger than 1MB

bwolcott

Joined: 2005-03-16
Posts: 3
Posted: Wed, 2005-03-16 21:45

After installing 2.0 I have imported a few albums from 1.5 and the only thumbnail images that work are for images less than 1MB. I have tried uploading new images via Gallery Remote and the upload applet. If I manually copy a new, smaller (less than 1MB) version of the image the thumbnail will work. I have also tried running the buildallderivatives.php script. Everything else seems to be working and the full images are there. I apologize if this issue has already been answered.

Brett

<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional): www.myboxofphotos.com/haus/gallery2/
Gallery version: gallery-2.0-beta-1
Webserver (with version): Apache/2.0.49 (Fedora)
Datatabase (with version): mysql 3.23.58
PHP version (eg 4.2.1): PHP Version 4.3.6
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-16 21:49

turn on debug output in config.php and get some debug output for a request that is building a thumbnail.. look for Executing in the output and see if it has any error messages.

 
bwolcott

Joined: 2005-03-16
Posts: 3
Posted: Wed, 2005-03-16 22:43

Please let me know if this helps.

http://www.myboxofphotos.com/haus/log.txt

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-16 23:32

the last line is 2005-03-16 18:45:36 [8c4f017d71a6028d572fb999edb33e25] GdToolkit::performOperation(image/jpeg,thumbnail,/home/virtual/site14/fst/home/g2data_haus/albums/DSCN0108.JPG,/home/virtual/site14/fst/home/g2data_haus/cache/derivative/0/1/15.dat,150)
looks like Gd can't handle this operation and bails out.. try making imagemagick or netpbm your highest priority toolkit. or increase the memory available to php so Gd may be able to work.

 
bwolcott

Joined: 2005-03-16
Posts: 3
Posted: Thu, 2005-03-17 00:54

FYI. Even with php.ini set to 16MB for memory usage Gd could not hande image files over 1MB while processing thumbnails with my configuration.

Here are my settings now:

ImageMagick down
NetPBM up down
Gd up

It works perfectly now. Thank you mindless for the support.