symphonycms / jit_image_manipulation

Just in Time Image Manipulation for Symphony CMS
http://symphonyextensions.com/extensions/jit_image_manipulation/
Other
25 stars 42 forks source link

php7.0-gd installed,but still error:Call to undefined function imagecreatefromjpeg() php7.0 #159

Open nonozone opened 7 years ago

nonozone commented 7 years ago

FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in /xxxx/public_html/extensions/jit_image_manipulation/lib/class.image.php:112

GD Support enabled
GD headers Version 2.2.4
GD library Version 2.2.4
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.6.3
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.6.28
WBMP Support enabled
XPM Support enabled
libXpm Version 30411
XBM Support enabled
WebP Support enabled

I don't know how to solve this problem, need your help, thank you.

nitriques commented 7 years ago

Thanks for the report, but this extension as not been tested with PHP 7. The error is pretty weird tho, since your PHP setup seems ok. Do other image format works ?

nonozone commented 7 years ago

I donot use other image format,so i dont know it.

nitriques commented 7 years ago

Can you try a png just to see if it works ?

nonozone commented 7 years ago

OK,I found the problem. Just use the mode 1:resize have this problem. Other mode, running normally

nitriques commented 7 years ago

Very, very weird.