Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to use the user profile_image string property (which is the url of a user's avatar image e.g. and wondered if there's any documentation about the dimensions of the avatars. I have searched both, Gravatar specs, and the stack exchange api documentation but can't find any reference.

Are all profile_images on Gravatar? And are they all the same dimensions? The few I've looked at all seem to be 80 x 80.

share|improve this question
up vote 2 down vote accepted

profile_image can be any size, it's a consumers responsibility to resize it.

Typically they'll be 128x128, but that's not contractual. This is a consequence of Facebook sourced profile images, like this user, whose profile_image is 180x180.

Not that the images being square is not guaranteed either, for the same reasons.

share|improve this answer

You must log in to answer this question.

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