Soshite Wrote:ZiNgA BuRgA Wrote:MyBB doesn't do any image resizing - it does set the avatar size to a fixed size (to prevent remote avatars from having excessively large dimensions).
Ah, I see. So if you're using a remote avatar, and it's less than 100x100, it'll get upscaled, then, I assume?
Yes and no.
The avatar dimensions will be set when you set the remote avatar, I believe, however, it won't be able to detect if the avatar has changed remotely.
Take this example:
You are on my forum, and you want to exceed a 100x100 avatar limit. You think up a devilish plan (not really, lol) and upload a valid avatar to your server (let's say it's 80x90), set your remote avatar in my forum, then replace the avatar on your end with, let's say, a 200x200 avatar. Now if the size property wasn't there, your avatar would be a 200x200 image, however, the size property restricts this, and will cause the 200x200 avatar to downscale back to the previous 80x90.
This also works the other way around - if you linked a 100x100 avatar, and later changed it to 50x50 remotely, the size stored in MyBB says that it's 100x100, thus, the avatar will be fixed to 100x100. The way around this is to set your avatar again, so that MyBB can refresh its details on the avatar.