What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

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.

share|improve this question
5  
Maybe the algorithm thinks you're a conservative in US politics –  random Sep 7 '11 at 15:18

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

You must log in to answer this question.

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