#1 2013-05-28 13:10:07

drnickriviera
Guest

Cannot change from GD to Imagemagick

Hi.

I'm using piwigo 2.5.1 on a webhosting service. I tried to change from gd to imagemagick with

$conf['graphics_library'] = 'ext_imagick';
$conf['ext_imagick_dir'] = '/usr/bin/convert';

in the LocalFiles Editor. The path I got directly from my provider. Although, I changed the config files like above, the BatchManager still sais

Betriebssystem: Linux
PHP: 5.2.17-0.dotdeb.0 (Info anzeigen) [2013-05-28 13:07:04]
MySQL: 5.5.30-1~dotdeb.0 [2013-05-28 13:07:04]
Grafikbibliothek: GD bundled (2.0.34 compatible)

What do I have to do else in order to change to imagemagick?

Thanx for your help
Alex

 

#2 2013-05-28 13:29:27

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Cannot change from GD to Imagemagick

$conf['ext_imagick_dir'] = '/usr/bin/';

Offline

 

#3 2013-05-28 14:34:37

drnickriviera
Guest

Re: Cannot change from GD to Imagemagick

Thanx for the quick answer. Unfortunately, I tried this already without mention it and it does not solve the problem. Any other ideas?

 

#4 2013-05-28 15:39:43

pewe
Member
2012-03-16
439

Re: Cannot change from GD to Imagemagick

I have had this problem since installing Piwigo over a year ago.

IM is installed on the server, and when first installed Piwigo used IM UNTIL I added some photos to the albums at which point it changed to GD.

I added the edit in the config to use IM - and it was ignored.

So I have never been able to use IM, and never been able to find an answer to why.

Offline

 

#5 2013-05-28 16:34:44

EdwinKort
Translation Team
Rhoon, the Netherlands
1970-01-01
95

Re: Cannot change from GD to Imagemagick

Neither have I. Checked with my hosting provider, and they let me know that imagemagick was installed.

$conf['graphics_library'] = 'ext_imagick';
$conf['ext_imagick_dir'] = '/usr/bin/';

Last edited by EdwinKort (2013-05-28 16:35:45)


My Gallery
Hosted with: Surpass Hosting since 2004

Offline

 

#6 2013-05-28 16:38:05

drnickriviera
Guest

Re: Cannot change from GD to Imagemagick

So not an easy one.....

 

#7 2013-05-28 16:58:04

flop25
Piwigo Team
2006-07-06
7037

Re: Cannot change from GD to Imagemagick

drnickriviera wrote:

So not an easy one.....

I've recently discovered the "joy" of managing its own server, and even me -I'm not even working in computers/programm...- I successfully enabled imagick -the php extension- and ImageMagik. Since that day, the hosters with such problem of finding ImageMagik, not using imagick  etc I found them very non-professional


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2013-05-28 18:03:12

drnickriviera
Guest

Re: Cannot change from GD to Imagemagick

I jsut found my problem. It was no piwigo problem but hoster. I'm kind of new in all that stuff and just saw, that "exec()" is in the disabled_function list. :( So I have to talk to my hoster.

BTW: There is no error message in piwigo if the version test does not work properly. It will just be changed to gd. I had to comment the part in order to get the error message

exec() has been disabled for security reasons.

It would be nice to have a warning message if piwigo switches to gd because of an error. Future noobusers like me could save time then.

Sorry for bothering you guys.

 

#9 2013-05-28 18:07:13

drnickriviera
Guest

Re: Cannot change from GD to Imagemagick

BTW: It is kind of funny, that my hoster give me the path of imagemagick but did not tell me, that I cannot use any command fromin php.

 

#10 2013-05-28 18:10:22

flop25
Piwigo Team
2006-07-06
7037

Re: Cannot change from GD to Imagemagick

#facepalm

:-/


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#11 2015-08-04 03:09:32

lepradz
Guest

Re: Cannot change from GD to Imagemagick

Try removing the / at the end of your path: '/usr/bin/' could be changed to '/usr/bin'

 

#12 2015-08-04 03:33:02

lepradz
Guest

Re: Cannot change from GD to Imagemagick

ignore my last comment, that's just BS. You do need the trailing slash.

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact