Announcement

#1 2018-02-20 12:33:51

JohnSmithIII
Member
2018-02-20
3

[Synology] My pictures are registered, but no thumbnails!

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

 

#2 2018-02-20 22:19:02

executive
Member
2017-08-16
333

Re: [Synology] My pictures are registered, but no thumbnails!

Offline

 

#3 2018-02-21 08:51:39

JohnSmithIII
Member
2018-02-20
3

Re: [Synology] My pictures are registered, but no thumbnails!

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

 

#4 2018-03-07 09:05:11

JasonHague
Member
2018-03-07
7

Re: [Synology] My pictures are registered, but no thumbnails!

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

 

#5 2018-03-07 10:02:25

JasonHague
Member
2018-03-07
7

Re: [Synology] My pictures are registered, but no thumbnails!

Offline

 

#6 2018-03-07 10:26:12

JohnSmithIII
Member
2018-02-20
3

Re: [Synology] My pictures are registered, but no thumbnails!

$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

 

#7 2018-03-07 12:36:58

JasonHague
Member
2018-03-07
7

Re: [Synology] My pictures are registered, but no thumbnails!

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

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact