1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Gifs Using ImageMagick

Discussion in 'XenForo Questions and Support' started by Pengy, May 13, 2015.

  1. Pengy

    Pengy Member

    I was wanting to make Gif images able to load as profile avatars, and found out the way to do this was to use the ImageMagick extension for php.
    I went to my cPanel, and checked for php to use the imagick extension, and then went on the ACP, and set the forums to use ImageMagick, however my forums still do not have gifs working as avatars across the forums. I checked if this was an issue with my forum style, however, it does not work on the default style. Is imagick not the same thing as ImageMagick?
    Does anyone know what I could be doing wrong?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Has the imagick PHP PECL extension been installed and compiled against the ImageMagick libraries on the server?
    Both need to be installed.

    Did you restart Apache after installing?
  3. Pengy

    Pengy Member

    This is on shared hosting, so I will contact the support team with that. Thanks for the quick reply!
  4. Pengy

    Pengy Member

    The company replied the following:
    Please be informed that imagick PHP PECL extension has already installed on our server. Can you please contact Xenforo support and ask what all PHP extensions are required to make gif avatars to work on your forum? I have checked Xenforo forums regarding this and found that we have to disable GD in order to make it work. Please confirm this with them and let me know.
  5. rafass

    rafass Well-Known Member

    This is what you have to do:
    And everything will work absolutely perfect.
  6. Pengy

    Pengy Member

    I can't do that as I don't have ssh access since I am on shared hosting, but I will talk to the support people.
  7. Mike

    Mike XenForo Developer Staff Member

    If you were able to select ImageMagick in the XF ACP, that's really all you can do. I would note that if you're talking about animated GIF support, you need to reupload any avatars that should be animated for it to work.

    If it doesn't work, that would seem to imply an issue internal to ImageMagick, not something that XF really has any control over unfortunately. (It may be related to the version of the imagick PECL extension or the version of ImageMagick it's compiled against. The instructions above essentially have you recompiling each to ensure they're the latest versions.)
    rafass likes this.
  8. Pengy

    Pengy Member

    I feel dumb now because I hadn't re-uploaded the avatars. Thanks for all the help guys!

Share This Page