Hello,
I installed piwigo on Synology (latest version 6.1.5) . If I use GD as a graphics library, I don't have any problem.
But I would like use Imagemagick.
I put in local/config/config.inc.php
$conf['graphics_library'] = 'ext_imagick';
$conf['ext_imagick_dir'] = '/usr/bin';
Imagemagick is working on Synology.
In terminal I get
root@nas:~# /usr/bin/convert -version
Version: ImageMagick 6.9.9-19 Q8 x86_64 2018-01-15 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
Piwigo in administration/tools/maintenance show me
Piwigo 2.9.2
Operating system: Linux
PHP: 7.0.24 (Show info) [2018-02-20 14:29:09]
MySQL: 5.5.57-MariaDB [2018-02-20 14:29:09]
Graphics Library: External ImageMagick 6.9.9-19
But I don't see thumbnail.
If I check an error is returned by the i.php url : in the Batch Manager, right-click on a failed picture then “Display the picture”, I see
[External ImageMagick] Corrupt image array ( )
How can I fix this error?
P.S. If I install ImageMagick from SynoCommunity (https://synocommunity.com/package/imagemagick)
And write $conf['ext_imagick_dir'] = '/usr/local/imagemagick/bin/';
ImageMagick become work. But it's not ImageMagick what come by default with Synology and outdate.
So How Can I use ImageMagick that already preinstalled with Synology?
Synology version: DSM 6.1.5-15254
Piwigo version: 2.9.2
PHP version: 7.0.24
MySQL version: 5.5.57-MariaDB
Piwigo URL: private
Last edited by JohnSmithIII (2018-02-20 12:58:09)
Offline
Offline
Thank you for answer. So I understand.
Synology doesn't have full ImageMagick libraries. So we can't fix that in simple way.
So solution is
1 - use GD
2 - install ImageMagick from SynoCommunity (https://synocommunity.com/package/imagemagick)
Offline
I believe that it is normally installed @ /usr/syno/bin/ that appears to work for me anyway. Running DSM 6.1.5-15254 Update 1. Apparently PhotoStation uses it.
Last edited by JasonHague (2018-03-07 09:07:28)
Offline
I also found this...
https://www.chainsawonatireswing.com/20 … on-ds411j/
Offline
$conf['graphics_library'] = 'ext_imagick';
$conf['ext_imagick_dir'] = '/usr/syno/bin/';
This configuration doesn't work for Piwigo.
ImageMagick preinstalled with Synology is located in /usr/bin/ and working with PhotoStation.
But Piwigo can't use this library.
So we need install ImageMagick from other source.
Offline
Yeah... hmmmm.
Something changed as soon as I made that alteration. All of a sudden I had thumbs and the sync was working properly... yet Piwigo says its using GD.
It doesn't seem to generate an error.
Offline