I having a problem when trying to upload gif animations. It seems that the animation element doesn't work after they have been uploaded.

I looked at the Craft changelog and it mentioned something about support for gifs through ImageMagick. The site is on MediaTemple so when I used their ImageMagick install instructions it throws up an error.

Internal Server Error

curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set

I'm not sure if it is an ImageMagick thing or not but it is crucial to the function of the site. Its probably very simple.

Please help...



You're correct in that animated GIFs will only have their animations preserved if your server has Imagick installed.

If you're getting an error installing Imagick on MediaTemple, the you're better off contacting them with the error and seeing if they can help resolve the issue.

  • Thanks Brad, I think I got it functioning okay now as far as MediaTemple goes. Will Craft automatically detect ImageMagick? Sep 10 '14 at 15:52
  • Hi Brad, Its just stopped working again for some reason although its only the homepage. I'm really stuck with this as its an error I'm getting from Craft related to open_basedir. I can still use the other parts of the site and the Admin back-end. We have a big launch in 24hrs for an international BMX magazine built on Craft and they need to upload animated Gif adverts. Any help would be appreciated. Is it possible to disable CURLOPT_FOLLOWLOCATION Sep 10 '14 at 16:09
  • Yes, Craft will automatically detect Imagick. Either disable safe_mode in php.ini or remove the openbase_dir restrictions. stackoverflow.com/questions/6918623/…
    – Brad Bell
    Sep 10 '14 at 16:51
  • 3
    "I'm trying media temple support..." - famous last words. :)
    – Brad Bell
    Sep 10 '14 at 17:39
  • 1
    This might not be the right place to ask but... I try anyways? Why isn't animated GIFs preserved even if the server only has GD? Are all images recreated somehow during upload? Does that happen to jpegs too? How does that affect quality? Sep 10 '14 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.