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

XF 1.4 Animated Mini-Me Image and Avatars

Discussion in 'Styling and Customization Questions' started by TheSalt, Dec 28, 2014.

  1. TheSalt

    TheSalt Active Member

    Hello Gang,

    I was wondering if there is a way to keep the Mini-Me Image avatars and the avatars shown next to the threads in the list from being animated while keeping avatars in the threads and profiles animated?

    Many Thanks,
    Nick
     
  2. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    The images are prepared while adding the avatar, the animations are retained if Imagick is enabled, custom coding can be used to force GD to be used to process the small avatars that are used in thread listing, which do not allow animations by default.
    Or maybe something like this: http://stackoverflow.com/questions/3688460/stopping-gif-animation-programmatically though I would prefer the first method. :)
     
    TheSalt likes this.
  3. TheSalt

    TheSalt Active Member

    That is what I was hoping hear, thank you. Now the question is does anyone know what the code is? :LOL::whistle:
     
  4. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    You'll find everything needed in XenForo_Model_Avatar class ;)
     
    TheSalt likes this.
  5. TheSalt

    TheSalt Active Member

    Is that a template? It's not coming up in a search? Thank you for your help by the way. :)
     
  6. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    owh... its a PHP class which renders the avatars. You'll need intermediate PHP knowledge to make the necessary changes.
     

Share This Page