Recently, I made a couple of posts, all fine and stuff, but noticed my avatar was a little blurry. I'm a bit of a stickler for pixel-perfection, especially with regards to the great and powerful god of Tricks and Awesomeness, Coyote. The blurriness is almost always due to scaling of the image, so the first thing I did was check the image info: 100x100 scaled to 90x90.
Not only is it downscaling the original image for a thumbnail (the original is 115x115) but it's then being downscaled again by the browser. No problem, I'll try using my bigger version since it offers sligntly better downscaling. Nope, the forum sees my tactic and counters it by creating a 50x50 thumbnail, then using that to upscale to 90x90. Ew.
So, I know the final size should be 90x90. Fortunately, this avatar is one I use on a couple of other forums, each with their own restrictions on avatars, so I had made an SVG to render at any size I wanted. So I create a 90x90 version, pngcrush it for niceness, upload it, and try to set my nice, sharp avatar.
Now for the actual issue:
The first thing that was odd was that, using the cropping system in the roundabout way, the cropping area was larger than the image. I proceeded to try to shrink it to the image size, but couldn't, only moving it to be aligned to the bottom right corner instead of the top-left. Giving up after a few tries, I decided to go ahead and try applying it as-is, and hoping it wouldn't pad out my carefully sized image, only to shrink it to fit again.
Nothing happened. The image didn't change, and refreshing the page on a thread I had posted in didn't change it. It simply failed to stick. I tried again, same result. For some reason I tried adjusting the cropping for the current avatar, and that's when it decided to show up. However, it was oddly shifted up and left, and padded out with red, but not solid red and not a red that matches my avatar's border. I could not adjust the avatar cropping box either. This only happened with my 90x90 image. My 115x115 and 512x512 images can be cropped just fine.
I would assume that the cropping issue shows up with images smaller than 100x100, given that this was one of the sizes that the avatar is resized to and exactly double the size of the other one. I'm also somewhat confused as to why the system tried to use the smaller 50x50 thumbnail for my full sized avatar when I tried to use the larger image, but used the more reasonable 100x100 for the smaller avatar applied through the exact same means.
TL;DR:
There's an issue with cropping and assinging avatars of a certain dimension using the roundabout means of avatar uploading.
If a staff member wants the "classified" details (merely what the roundabout way is) in order to test themselves, or the lowly villagers are in fact allowed to have an avatar (in which case avatar uploading via URL is broken) I can provide the details through the appropriate means. I have no idea if, but doubt that, it could cause a security issue due to it's odd behavior when working with binary (image) data.