Thumbnail creation not working - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: GS Development Testing - (alpha/beta) (http://get-simple.info/forums/forumdisplay.php?fid=14) +--- Thread: Thumbnail creation not working (/showthread.php?tid=1464) |
Thumbnail creation not working - nottrobin - 2011-03-25 GetSimple was throwing an error when I try to create a thumbnail of an image in 3.0B r415. Here's the PHP error from the server logs: Code: PHP Fatal error: Call to undefined function ImageCreateFromJpeg() in /var/www/nutshelldance.co.uk/admin/inc/image.class.php on line 97 Obviously it can't find "ImageCreateFromJpeg". =============== Found solution: ---- Although my PHP had GD correctly installed, it didn't have jpeg support. This was because my libjpeg library wasn't installed correctly. I ended up downloading and compiling from source the latest libjpeg from here: http://www.ijg.org/ And then I had to recompile PHP with the '--with-jpeg-dir=/usr/local/lib' option Suggestion for GetSimple ---- When you install GetSimple, check for GD support for all file types and alert the user if support isn't present. Robin. Thumbnail creation not working - Connie - 2011-03-25 Quote:When you install GetSimple, check for GD support for all file types and alert the user if support isn't present. That is a good suggestion, even that case of unsupported JPG is really a rare case |