As a follow up on the recently fixed flair bug, but possibly related, I notice that my profile picture that Stack Overflow is importing from Facebook appears cropped on the right side.

To wit:

my profile picture from facebook my profile picture from Stack Overflow

The picture is subsequently right cropped in the flairs as well. I don't think, but can't certainly state, that the image was cropped prior to the aforementioned fix.

  • 5
    Maybe the algorithm thinks you're a conservative in US politics – random Sep 7 '11 at 15:18

Facebook doesn't expose a way to get a square version of profile pictures large enough for our purposes.

So we take the largest profile image available and cram it into a square. In the typical (portrait orientation) case we center the image, but we cannot do the same for landscape pictures without some really nasty hacks. Honestly, the portrait fix is already pretty nasty; the assumption of square avatars is very very deep in our system.

I consider this for now, as the only true fix is to start hosting Facebook profile images on our infrastructure; which has all sorts of legal, scaling, and sync'ing issues.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .