XF 1.5 Rebuild avatars after changing image processor?

Mr. Jinx

Active member
Our Xenforo image processor was set at "PHP built-in GD image library" but I noticed that "ImageMagick" produced much better results.
So I changed this to ImageMagick.

Is there are way to rebuild all user avatars, just like the attachments?
 

Mr. Jinx

Active member
The avatars are stored as 'large' and 'small', for example:
data/avatars/l/1/1099.jpg
data/avatars/s/1/1099.jpg

The large ones are fine (and most of them untouched).
What I am looking for is a way to rebuild the thumbnails.
This proces also runs when you import from another forum.
 

Alfa1

Well-known member
Does anyone have an idea how to do this?
Essentially all avatars need to be resaved. This should get animated avatars moving again for our members with account upgrade.
 

S Thomas

Well-known member
Have you checked the stored files? Are they animated on your server? If not, then it's impossible I guess.
 

Alfa1

Well-known member
Avatars are animated on profiles.
If I go into an account and resave the animated avatar then the mini avatars and post avatars also becomes animated.
I need to do that for many users on my big board.
 

Mr. Jinx

Active member
Would be a nice option, but I haven't found anyone who could make a small addon or something to do this.
Must be complicated to do this.
 

S Thomas

Well-known member
Don't see a reason why that should be complicated. This is a thing of maybe 1 hour or less without any kind of big board optimization and UI integration.
@Alfa1: There is a dedicated Avatar service in the core - you would just need to call that for all Users of your group with their already set avatar and then use the update function.

Edit: Whoops, just saw the 1.5 tag. I'm talking about 2.0, haven't looked into 1.5.
 
Last edited:
Top