[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!> |
|
Posts: 8601
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.
Posts: 3
Please let me know if this helps.
http://www.myboxofphotos.com/haus/log.txt
Posts: 8601
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.
Posts: 3
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.