D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => ShareCenter® Add-on Applications => Topic started by: Fabiano Pinheiro on November 07, 2016, 09:00:55 AM

Title: Help in Imagemagick/PHP Library to Piwigo/Koken - DNS320L
Post by: Fabiano Pinheiro on November 07, 2016, 09:00:55 AM
Hello guys
I need help with imagemagic library.
They are not compatible with the DNS320-L or I am not able to activate them.

I have 10k of photos on the NAS, and I've installed the add-ons to view them.
Piwigo, Koken and Photo Center (Gallery), and in all, I noticed that it loads only the standard PHP library, the GD.

https://goo.gl/tFfjYR (https://goo.gl/tFfjYR)
https://goo.gl/9YVSrl (https://goo.gl/9YVSrl)
https://goo.gl/Qnqdpf (https://goo.gl/Qnqdpf)

Koken and Gallery have symlink restrictions on the directory of photos. In this case, Piwigo fulfills this need very well.  :D  ;)
For all of these add-ons, I noticed that loading images is very slow, and in all, there is an option to load the imagemagick library. I also noticed that in the Piwigo and Koken directories, the Imagemagick files are already in place, but I can not load them.

https://goo.gl/4QwACO (https://goo.gl/4QwACO)
https://goo.gl/K9HTcI (https://goo.gl/K9HTcI)

In all cases I have already tried to load the imagemagick into php, through php.ini with the data
Extension_dir="/mnt/HD/HD_a2/ffp/lib"
Extension=libmagick.so

And some directory variations also

In php I got the following error message:
PHP Warning: PHP Startup: Can not dynamically load libmagick.so - dynamic modules are not supported in Unknown on line 0

In Piwigo I have already tried to point the directory directly in the add-on.

https://goo.gl/DECfHC (https://goo.gl/DECfHC)

Already tried to install the package through the ffp of the repository http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/PACKAGES.html (http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/PACKAGES.html)

But in no case succeeded.

Is not this imagemagick compatible with dns320-l, and with other models?
Can be recompiled for the 320l?

I will thank you very much for the help of those who have already been able to do it.

EDIT: All images are in the shared album at https://goo.gl/photos/KxUq61gpznAiER9DA (https://goo.gl/photos/KxUq61gpznAiER9DA)
Title: Re: Help in Imagemagick/PHP Library to Piwigo/Koken - DNS320L
Post by: vtverdohleb on November 09, 2016, 08:15:31 AM
If I understood you correctly, the problem fun_plug, why do not you use the add-ons Piwigo & Koken?
http://dlink.vtverdohleb.org.ua/Add-On/#Koken (http://dlink.vtverdohleb.org.ua/Add-On/#Koken)
Title: Re: Help in Imagemagick/PHP Library to Piwigo/Koken - DNS320L
Post by: Fabiano Pinheiro on November 09, 2016, 09:34:20 AM
No, the problem is not in fun_plug.
The problem is in the imagemagick library for dn320l, which PHP can not load.
I tried Koken and Piwigo, even in the latest version of firmware 1.08, which no longer allows fun_plug.
I did the downgrade to 1.04, just to try the fun_plug as last alternative, because in all the possibilities of updated firmware, I tried

In other dns models loads the installed imagemagick with piwigo and koken?
Title: Re: Help in Imagemagick/PHP Library to Piwigo/Koken - DNS320L
Post by: Fabiano Pinheiro on November 17, 2016, 07:12:50 AM
Has anyone identified this problem and has a solution?  :'( :'( :'(