XF 1.5 Rebuild avatars after changing image processor?

Mr. Jinx

Well-known 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?
 
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.
 
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.
 
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.
 
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:
Back
Top Bottom