This user strikes again. This time it's:

Link to the original profile picture: http://profile.ak.fbcdn.net/hprofile-ak-snc6/273260_1427736689_310442525_n.jpg

I noticed it can be fixed by changing the image source from http://graph.facebook.com/{id}/picture?type=large to http://graph.facebook.com/{id}/picture?type=normal. (or enforce maximum width in the CSS itself)

Edit: now the image height is constrained to 128 pixels, so when the width is bigger than the height and both more than 128 pixels, it leads to something like this: (profile link)

  • strikes again? When did he strike before? Feb 13 '13 at 10:06
  • 2
    @hims056 see my edit. :) Feb 13 '13 at 10:07
  • I don't think it's Facebook causing it, I've seen super-large Gravatars as well.
    – tombull89
    Feb 13 '13 at 10:31
  • @tombull89: most of those super large gravs are due to them being taken from FB. IIRC your avatar can be imported from FB as well, though I don't know the details. See meta.stackexchange.com/questions/164058/… Feb 13 '13 at 10:53
  • The avatar is imported from Facebook if you used Facebook to log into the site for the first time. This issue of larger Facebook images is recurring and has appeared in a few avatar related issues.
    – Lix
    Feb 13 '13 at 11:11
  • @tombull89 for images hosted on gravatar or imgur they put querystring parameter to resize them to the desired size e.g. my pic is http://www.gravatar.com/avatar/ab78492b42045cfabc0e857908519fea?s=128&d=identicon&r=PG note the "?s=128". Even 10,000 pixels image will just be scaled down, server side. Feb 13 '13 at 11:17

The network profile's avatar is now constrained to 128px similarly to the rest of the network.

  • 3
    I saw its height is constrained (meaning the browser will scale the width) and there's no overflow: hidden; for its parent div, so for some pictures it still might break, no? Feb 13 '13 at 19:48
  • 2
    And I was right... see this profile. (originally reported here). Sep 30 '13 at 7:26

You must log in to answer this question.

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