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

XF 1.3 Is there any other option to get animated avatars to work ?

Discussion in 'XenForo Questions and Support' started by RAHSTYLES, Jul 23, 2014.

  1. RAHSTYLES

    RAHSTYLES Active Member

    without the use of imageik... I asked my serverguy and they said they can only do gd2 bcause it puts more server load. I have a shared? Is there any other option? I dont get why its animated on the profile page but in the postbit its not animated.. But for vb they had animated avi in post bit without the imagik..

    Now that isnt a reason to leave xenforo.. but its like a pain in the back of my neck that i wont ever be able to have a animated avatar unless i go to a dedicated server... or vps.

    Such a great software and vb does one thing better.. animated gif avatars..
     
  2. Steve F

    Steve F Well-Known Member

    vB used standard sized avatars, with XenForo there are many different sized avatars so things need resized and simply resizing a gif image won't maintain the animation unless Imagick is used.

    If I were in your position and animated avatars were that important I would simply move to a cheap VPS or find a shared host that will enable Imagick.
     
  3. RAHSTYLES

    RAHSTYLES Active Member

    Is there any other way around it? What if there was an option to not resize the avatars.. And also if this was the case then why is it animated in profile view?
     
  4. Mike

    Mike XenForo Developer Staff Member

    The profile view one is not always resized. There are 2 other sizes that always need to be generated.

    So no, there isn't a way around it really.
     
  5. RAHSTYLES

    RAHSTYLES Active Member

    Is there an option to change the size in the postbit one?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    No.

    The sizes are hard coded.
     
  7. RAHSTYLES

    RAHSTYLES Active Member

  8. rwm1962

    rwm1962 Active Member

    I'm on a shared server but have imagemagik installed & ran a php script to check it works. I can only get avatars to show as animated in profile - not on the post bit.

    Is there other tweaking required?
     
  9. Steve F

    Steve F Well-Known Member

  10. rwm1962

    rwm1962 Active Member

  11. Steve F

    Steve F Well-Known Member

  12. rwm1962

    rwm1962 Active Member

    Hi,
    Thanks for the advice.

    My service came back with this:

    I reckon that's also a hint that the latest version isn't supported.

    Is there somewhere in the XF files I can alter the path?
     
  13. rwm1962

    rwm1962 Active Member

    Reading that back I think there may be typo's in that response re the paths. I've asked for confirmation.

    Question still stands though.
     
  14. Mike

    Mike XenForo Developer Staff Member

    No, because XF uses the imagick PHP PECL extension, which itself is directly compiled against the ImageMagick libraries on your server. To be clear, we don't use ImageMagick binaries like "convert".

    The imagick extension may need to be recompiled specifically against the new ImageMagick they installed (assuming the new version isn't showing up in PHP info).
     
  15. rwm1962

    rwm1962 Active Member

    Thanks Mike - no change on the phpinfo so new version not being applied for me. I'll copy your response to my service as it's beyond me.

    Cheers.
     
  16. Rob

    Rob Well-Known Member

    Nothing distracts my reading any page of content more than animation. Adverts I accept, but avatars.... urrrghgghhh.
    I'm glad this is not easily possible :)
     
    FredC likes this.
  17. rwm1962

    rwm1962 Active Member

    It's something we have at the moment & we don't allow very big avatars & it's not really been a distraction as they are a minority & nicely done. It's no biggy for me personally but we have to move from a package that is EOL & undeveloped for around 3 years. As well as having to move I'm hoping members will see it as progress. I'm having to spend a lot of money on custom add-ons to achieve that aim. While I'm happy enough to do that & am looking to forward to being a long term XF customer I hadn't expected to loose something this basic.

    @Mike
    response from my service. Also above my head!

    Back later.
     
  18. rwm1962

    rwm1962 Active Member

    Any advice on what I or my service need to do please?
     
  19. Mike

    Mike XenForo Developer Staff Member

    I'm not sure how to respond to your host's latest message as my previous message explicitly mentioned that the ImageMagick binaries aren't used. It uses this PECL extension: http://pecl.php.net/package/imagick When this is compiled, it's compiled against the ImageMagick that's installed at the time, so it will likely need to be recompiled.

    I have looked at the C code behind it and I think it will look for the library files from ImageMagick in /usr/local... before /usr... so it should pick them up when recompiling. (If it doesn't, the compilation can take a --with-imagick option to specify an overriding path.)
     
    Rob likes this.
  20. rwm1962

    rwm1962 Active Member

    Thanks again Mike. I'll pass the message on.
     

Share This Page