![]() |
|
How to enable imagemagick? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: How to enable imagemagick? (/thread-7185.html) Pages:
1
2
|
How to enable imagemagick? - danielsbrewer - 14-06-2010 I have both gd and imagemagick installed on my system but I can't work out how to switch to imagemagick. Any ideas? I upgraded from a previous version and it didn't give me the option in the setup and I can't find it in the options. Also is imagemagick faster than GD for thumbnail generation on their install? Information from php -i: imagick module => enabled Directive => Local Value => Master Value How to enable imagemagick? - acrylian - 14-06-2010 To enable Imagick there is a checkbox on Options > Image right on top. At least on my host it does not seem really noticable faster. How to enable imagemagick? - danielsbrewer - 14-06-2010 Many thanks, not sure how I missed that! In a quick test I have found imagemagick to be a bit slower. How to enable imagemagick? - diegorotalde - 07-08-2010 Hello, I am a web designer and I am working on a Zenphoto upgrade to version 1.3. Thumbnails are not being generated and the hosting company (ASmallOrange) mentioned the GD engine thumbnail process was being terminated because of memory problems, and suggested I switch to ImageMagick. I read the above post but I can't seem to find the option acrylian mentions (which I could attach a screenshot) to enable Imagemagick. The version I am using is Zenphoto version 1.3 [5479] Just in case it is something else, this is what I have in the Setup log and below, what I see when I debug any thumbnail: Album: [ trainset-ghetto ], Image: [ 1_small.jpg ] Image filesize: 431697 Debug i.php | Arguments: Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/petebaum/public_html/gallery/zp-core/lib-GD.php on line 70 Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/petebaum/public_html/gallery/albums/trainset-ghetto/1_small.jpg' is not a valid JPEG file in /home/petebaum/public_html/gallery/zp-core/lib-GD.php on line 70 Warning: filemtime() [function.filemtime]: stat failed for /home/petebaum/public_html/gallery/cache/trainset-ghetto/1_small_100_cw85_ch85_thumb.jpg in /home/petebaum/public_html/gallery/zp-core/i.php on line 197 Thanks in advance for any advice. How to enable imagemagick? - kagutsuchi - 07-08-2010 Most of what you've posted is indicative of what you've already said: that GD is causing memory problems. If you're using 1.3.0, you will see the option to use Imagick if: [list] How to enable imagemagick? - sbillard - 07-08-2010 That seems a rather small image to be causing memory problems. But, it is not the file size that is the issue, it is the pixel dimensions. What are those for the image? How to enable imagemagick? - huogas - 08-08-2010 Is it possible that I don't see that checkbox on Options > Image right on top ? Gaston How to enable imagemagick? - kagutsuchi - 08-08-2010 As I said above, the option will only be present if Imagick is available on your server. So if you don't see it, then it's not available. How to enable imagemagick? - huogas - 08-08-2010 Thanks. Before I talk to my host (iweb), I would like to know is there a lot of gain in using this (or having it available) ? Gaston How to enable imagemagick? - kagutsuchi - 08-08-2010 It depends on what you need out of Zenphoto, I suppose. The library is made to work close to the same as GD. One main difference is that Imagick isn't sharing memory with Apache, so it shouldn't have as many memory issues as GD. Another is that, with the latest changes, color profiles should be preserved between an image and its sized/thumbnail versions. It should also preserve transparency when resizing, whereas GD can have issues. I have heard that it can be a tad slower than GD, but I do intend on working on that. How to enable imagemagick? - huogas - 08-08-2010 Thanks, Gaston How to enable imagemagick? - Pedram - 31-08-2010 Hi, I just want to verify that with Zenphoto 1.3.1, there is currently no way to use ImageMagick? Thanks, p How to enable imagemagick? - acrylian - 31-08-2010 If your server supports that you can enable it on Options > Image. The option will not be there if your server does not have it of course. Technically it is Imagick we support and it requires PHP 5+. How to enable imagemagick? - Pedram - 31-08-2010 Weird...I'm running PHP 5.2.6 and I verified that my server is running ImageMagick 6.2.4 but I don't see that option when I go to Options> Image. I see that in my zp-core directory I have lib-Imagick.php which is good. Should my my PHP5_functions directory have an Imagick file? Right now it has _functions_GD.php but nothing regarding Imagick. How to enable imagemagick? - acrylian - 31-08-2010 No, the lib-imagick.php is directly in the zp-core folder.. Note that there are several variants that hook on ImageMagick: http://www.imagemagick.org/script/index.php We currently have only support for Imagick. I am sure that kagutsuchi who did it for us will respond soon, too. How to enable imagemagick? - kagutsuchi - 31-08-2010 Your server probably only provides ImageMagick and not Imagick, which is what You could always ask your host to install the module for you. I know that my host allows dynamically adding modules to PHP, so perhaps that is an option as well. Only your host would know for sure, though. How to enable imagemagick? - Rousset - 03-09-2010 Hi, I had the same problem as Pedram with Imagick: the check box didn't appear in options>image. So I am trying another host, well known in the US to be one of the best support for Zenphoto. How to enable imagemagick? - acrylian - 03-09-2010 Color profiles of course only help if the visitor has a browser that takes care of them! Regarding the picture display: Zenphoto generates the thumbs and sized images on the fly when they are requested the first time and then caches them. Depending on the power of the server and the sizes of these images this might vary from host to host (and on the current traffic as well). Even with Imagick I suggest not to upload 10mp images or the like. Also Zenphoto is file system based because of that you can just upload folders with images to your albums folder and they become albums and images once Zenphoto discovers them. Additionally I suggest to try the static-html cache plugin. How to enable imagemagick? - kagutsuchi - 03-09-2010 As acrylian said, it is pretty much dependent on the image size (not filesize). Other than that, it could be a hosting issue. Image processing also depends on the available memory, so if your new host has less memory or is overselling or some such, perhaps you could encounter some issues. Once an image is cached, however, you shouldn't really notice any such slowdowns. How to enable imagemagick? - ganesht - 18-11-2010 I have imagick installed on my server, as it shows up under php_info; however i am still unable to enable it in zenphoto?? there is no check box showing. socalbavarians.com/info.php |