Search the Community
Showing results for tags 'imagick'.
-
Hi there, I am having a strange problem. I have a bunch of sites that have similar content (text, images, map markers), but I am not able to edit two specific pages in the backend. I always get the following error (or 503 service unavailable): Maximum execution time of 30 seconds exceeded (Zeile 520 in [...]/wire/core/Pageimage.php) Line 520 in Pageimage.php: $imagick->readImage($filename); All of the images used on all of the pages are SVG drawings and I have no clue why there are no problems with the majority of pages but just two of them. Maybe one of you guys has experienced a similar problem with ImageMagick and SVGs? I have debug mode enabled, but I only get these errors and nothing more specific. Is there any smart way to find the source of the error? In the assets folder for all of the pages there are only SVGs so I expect no conversion to be done. If no conversion is happening, why would the script run into the max execution time? I appreciate your thoughts on this. Cheers, Flo
- 13 replies
-
- pageimage.php
- imagick
-
(and 1 more)
Tagged with:
-
Hi, I can't get this script to work. I'm simply trying to generate the first page of a PDF from a file fieldtype. I keep getting an error message like this: "Error: Exception: Unable to read the file: …". The path to the PDF seems correct to me. foreach($page->datei as $publikation){ if($publikation->ext === "pdf"){ $file = $publikation->url; $im = new Imagick(); $im->setResolution(300, 300); $im->readImage($file . '[0]'); $im->setImageFormat('jpg'); header('Content-Type: image/jpeg'); echo $im; } } Any idea what I'm doing wrong here? Thanks!
-
Hi all, Im trying to install this core module and got the error of not having the ImageMagick library installed. But if im checking for the version of my ImageMagick installed on my server via SSH im getting this response; identify -version Version: ImageMagick 6.9.4-9 Q16 i386 2016-06-21 http://www.imagemagick.org Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC Delegates (built-in): bzlib freetype gslib jng jpeg png ps tiff xml zlib Does this even mean the library is installed? And if yes, why cant i install my module? Pleaassee help me Greetz.
- 1 reply
-
- imagick
- imagemagick
-
(and 3 more)
Tagged with:
-
Not sure if anyone out there has successfully solved this yet (nor if this is the correct place to post this), but I am kind of stuck on this. I normally use MAMP pro 3 for setting up my dev work flow, and wanted to play around with ImageMagick. I knew I had to enable the extension in MAMP, which I simply just removed the ";" in front of extension=imagick.so in the php.ini and restarted the servers. However when I tried to install the module, i get the following error: Unable to install module (ImageSizerEngineIMagick): This module requires that you have PHP's IMagick (Image Magick) extension installed From what I have read, the extension should be installed and activated after I followed the simple steps, but processwire doesn't seem to recognize that it is activated. Has someone encountered this issue yet? I am using php v7 with an install of processwire 2.8.35.