I have a site that works fine on my local WAMP stack, but fails on a remote LAMP stack. Thumbnails of JPG files are the issue.
The thumbnails don't generate on the LAMP stack. I can't edit articles because display of article elements stops if it contains an image without a thumbnail. I can't insert images in an article, because the pop-up folder list doesn't show images without thumbnails.
I traced the issue to /include/inc_ext/ss_image/ss_image.class.php, around line 89:
Code: Select all
case "2"://JPEG
$this->img_original = imagecreatefromjpeg($src);
break;
The odd thing is, when I use a stand-alone php test script using the functions imagecreatefromjpeg() and imagejpeg(), both the WAMP and the LAMP servers work perfectly! I can create images, and save them to the /filearchive directory on both of them.
The particulars:
My WAMP phpinfo():
- PHP Version: 5.1.4
Configure Command: "--with-gd=shared"
GD Support: enabled
GD Version: bundled (2.0.28 compatible)
JPG Support: enabled
- PHP Version: 4.3.9
Configure Command: '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm'
GD Support: enabled
GD Version: bundled (2.0.28 compatible)
JPG Support: enabled
Thanks,
-Ken