Avatar quality change?

Status
Not open for further replies.

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,101
Does anybody know how to change the quality of the avatar compression?
And if I update it in the code, do I need to rebuild caches or something, or do I need to re-upload my avatars?
 

jamesyfx

OMG Member
Joined
Apr 5, 2011
Messages
20
Hey guys,

If you open up:

library/XenFor:wave:Model/Avatar.php

and find the line:

Code:
public static $imageQuality = 85;

... Simply change the 85 to a higher value. But to be honest, the increase in quality isn't much greater - it just gets rid of a few ugly image artefacts.

Also, you'll need to re-upload avatars for this to work. I have tested it on my own forums. Can't see any negative impact yet.. but I wouldn't recommend increasing the quality on more active boards... naturally.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,101
Thank you - It's much appreciated that you looked into this and explained it to us here.
Since the alpha/beta the quality has changed a bit, they already look quite a bit sharper, less artifects.
 
Status
Not open for further replies.
Top