Image Library not found

ranwilli

Member
Trying to use the file upload plugin--
following a couple of threads on this forum, I checked the display tab to set the image library (both Imagemagic and GD2 are installed on my server) and see the selector marked only as "Image Library not Found".
System info:
PHP - 5.6.9-0
MySQL - 5.5.43
Joomla - 3.4.3
Fabrik - 3.3.2 (updated yesterday from Github)
GD:
GD Support enabled
GD headers Version 2.1.1-dev
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.5.2
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.50
WBMP Support enabled
XPM Support enabled
libXpm Version 30411
XBM Support enabled
WebP Support enabled

Why doesn't Fabrik see GD?
 
Hmmm, don't know, must be a PHP version thing. I haven't tried PHP 5.6.x yet, we develop against 5.5.

I'm trying something here, will get back to you soon ...

-- hugh
 
I assume Fabrik is looking for
"GD Version", which should be returned by gd_info
array(9) {
["GD Version"]=>
string(24) "bundled (2.0 compatible)"
["FreeType Support"]=>
bool(false)
....

Your version seems to return an attribute
"GD headers Version"
 
troester - yup, although we weren't using gd_info(), as that was added in PHP 4.3, and this chunk of code goes waaaaaay back, to PHP 3.x, I think. We haven't touched it years. So the way we were doing it was firing off a phpinfo() call and pattern matching the output.

Anyway, if my commit (which adds using gd_info() if it exists) doesn't fix it, that var_dump should show us if the info array is keyed by "GD Version" or "GD headers Version".

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top