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

Undefined function after upgrading #102

Closed pixelninja closed 9 years ago

pixelninja commented 9 years ago

Hi,

I had a site set up using JIT on 2.4 which worked fine, but after upgrading Symphony to 2.5.2, and JIT to 1.31, JIT has stopped working.

I have turned on JIT errors (line 3 of lib/image.php) and the message is

Fatal error: Call to undefined function imagecreatefrompng() in /extensions/jit_image_manipulation/lib/class.image.php on line 113

I did a find all for that function (incase it was in a file that needed including), and it isn't being defined anywhere.

Any ideas?

pixelninja commented 9 years ago

File type is (transparent) PNG. It is fine with JPGs.

brendo commented 9 years ago

This may be relevant. Is GD configured to allow PNG's?

bernardodiasc commented 9 years ago

Hey @pixelninja, can you check if the resolution of this issue https://github.com/symphonycms/jit_image_manipulation/issues/94 solves your case?

pixelninja commented 9 years ago

Ahh thanks guys. My bad, I should have checked closed issues.

It was related to upgrading OS X to Yosemite. Updating to php 5.6 did the trick. Yosemite upgrade seems to eliminate PNG Support. Upgrading (or reinstalling 5.5 I assume) adds it back in.

Sorry! As you were.

bernardodiasc commented 9 years ago

No worries, nice that worked for you :)