<p>EDIT after resolving: offtopic since the issue was that the php extension for ImageMagick was not installed on the server - therefore not Craft-related.</p>

<p>Because .gif's were not being transformed properly (only the first frame) I figured ImageMagick was not doing the image transforms.</p>

<p>Therefore I updated the general config file with the line to set the imageDriver to ImageMagick ('imageDriver' => 'imagick'). However, as from that point whenever I tried to upload an asset in the control panel, the black loading bar appeared, instantly full, and the loading icon in the top right kept spinning. The loading bar did not disappear, nor did the file get uploaded.</p>

<p>As soon as I removed this line from the general config, the uploading worked as normal again.</p>

<p>I have tested my server and ImageMagick is installed (v6.8.3-6). I am running PHP 5.4.</p>

<p>I am not running any plugins. The only other setting I have in the general config file is 'generateTransformsBeforePageLoad' => true</p>

<p>Does anybody know what could cause this issue? I would like to use ImageMagick for all the transfers, but of course especially for the .gif's.</p>

CC BY-SA 3.0
2015-09-23T19:50:53.387Z
Are you sure Imagick is enabled for PHP to use? If you go to `yourdomain.com/admin/utils/phpinfo` and search for imagick you should be able to see if there.
Brad Bell
CC BY-SA 3.0
2015-09-24T18:29:38.427Z
Hi Brad, thanks for the reply. I browsed to that link and searched for "imagick" on that page, but the search did not return any results. I have contacted my hosting provider and he confirms that ImageMagick is installed on the server with "standard implementation". When I click on the "Server Info" tab of the page you linked, I can see an orange triangle with exclamation mark in it next to "ImageMagick extension" (on hover it displays "Passed with warning").
Mitchell
CC BY-SA 3.0
2015-09-24T18:50:55.380Z
If `imagick` doesn't show up when you go to `admin/utils/phpinfo`, then it's not available for PHP to use. They might have installed only the library, but not the PHP extension for it (https://secure.php.net/manual/en/book.imagick.php).
Brad Bell
CC BY-SA 3.0
2015-09-26T22:48:35.327Z
I have discussed this with my hosting provider and indeed the extension has not been installed. Unfortunately they are not willing to install it on the servers, so I guess I'll have to do without Imagick then. Thanks for the quick support though, Brad!
Mitchell
CC BY-SA 3.0
2015-09-27T03:11:53.437Z
No worries... I'm going to go ahead and vote to close this, then.  Also, you should find a new hosting provider. ;)
Brad Bell
CC BY-SA 3.0
2015-09-27T03:13:07.857Z
I'm voting to close this question as off-topic because the host is unwilling to install Imagick.
Brad Bell
<imagick>
Cannot upload assets when Imagick is set as image driver
# Cannot upload assets when Imagick is set as image driver

(Asked by: username_0 on 2015-09-23)

EDIT after resolving: offtopic since the issue was that the php extension for ImageMagick was not installed on the server - therefore not Craft-related.

Because .gif's were not being transformed properly (only the first frame) I figured ImageMagick was not doing the image transforms.

Therefore I updated the general config file with the line to set the imageDriver to ImageMagick ('imageDriver' => 'imagick'). However, as from that point whenever I tried to upload an asset in the control panel, the black loading bar appeared, instantly full, and the loading icon in the top right kept spinning. The loading bar did not disappear, nor did the file get uploaded.

As soon as I removed this line from the general config, the uploading worked as normal again.

I have tested my server and ImageMagick is installed (v6.8.3-6). I am running PHP 5.4.

I am not running any plugins. The only other setting I have in the general config file is 'generateTransformsBeforePageLoad' => true

Does anybody know what could cause this issue? I would like to use ImageMagick for all the transfers, but of course especially for the .gif's.

**Tags:** imagick

> **Comments:**
> **username_1**: Are you sure Imagick is enabled for PHP to use? If you go to `yourdomain.com/admin/utils/phpinfo` and search for imagick you should be able to see if there.  
> **username_0**: Hi Brad, thanks for the reply. I browsed to that link and searched for "imagick" on that page, but the search did not return any results. I have contacted my hosting provider and he confirms that ImageMagick is installed on the server with "standard implementation". When I click on the "Server Info" tab of the page you linked, I can see an orange triangle with exclamation mark in it next to "ImageMagick extension" (on hover it displays "Passed with warning").  
> **username_1**: If `imagick` doesn't show up when you go to `admin/utils/phpinfo`, then it's not available for PHP to use. They might have installed only the library, but not the PHP extension for it (https://secure.php.net/manual/en/book.imagick.php).  
> **username_0**: I have discussed this with my hosting provider and indeed the extension has not been installed. Unfortunately they are not willing to install it on the servers, so I guess I'll have to do without Imagick then. Thanks for the quick support though, Brad!  
> **username_1**: No worries... I'm going to go ahead and vote to close this, then.  Also, you should find a new hosting provider. ;)  
> **username_1**: I'm voting to close this question as off-topic because the host is unwilling to install Imagick.  

---

## 0 answers

