Hi, just installed Piwio and for some reason when I try to add photos (web form upload) nothing happens and it just displays the error message "GD library is missing", even though I'm running Imagick:
Offline
(Fixed it by installing php7.2-gd, and after a restart of apache I can upload photos - but Maintenance still reports me using ImageMagick.
Offline
If the Graphics Library name is "ImageMagick" the PHP ImageMagick would be available (see admin/maintenance.php the switch (pwg_image::get_library()) and admin/include/image.class.php static function get_library() and the functions it calls) but apparently it can't be used (which is odd, maybe its installation is incomplete?), the external one's name would be "External ImageMagick", and the fallback is "GD".
If you also have the external ImageMagick installed you could try to force it using
$conf['graphics_library'] = 'ext_imagick';
in your local/config/config.inc.php (that's probably still better than using GD).
For other possible values see include/config_default.inc.php
Offline
[Github] Piwigo issue #957
Summary : GD is still required because it's used to resize GIF files.
Offline
Oh, it's in the code but I haven't thought one actually uploads gifs :p
Offline
Ah, that still an issue? Jeez.
Offline
Actually, that's not an issue. GD is available everywhere. More than ImageMagick. Just install it and forget about this "problem" :-)
Offline
Sure, the fix is super simple, but even better would be either
a) updating the requirements to make GD required or
b) not breaking on missing GD unless we actually try to process a GIF
That makes more sense than "just install a lib you are never going to use in order for this software to work" imho :)
Offline