SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. 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

When I edit my user profile on a My Site with default settings, I received an error for a picture that is too large.

The message says "Choose a smaller file to upload."

I've received this message for a picture with file size 5MBs or larger, but not one that is around 1MB.

share|improve this question
up vote 2 down vote accepted

~4.7MB is the limit (5000000 bytes).

share|improve this answer
Sounds like it could be right. Do you have a reference? – Tom Resing Dec 6 '12 at 18:00
public ProfileImagePicker() { this.m_strErrorMsg = string.Empty; this.m_profileType = ProfileType.User; this.m_nMaxBytes = 0x4c4b40; this.m_nTextboxSize = 30; } In Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker. – Trevor Seward Dec 6 '12 at 21:23
Thanks, Trevor! – Tom Resing Dec 11 '12 at 17:14

The user profile images are stored on the My Site host site collection in a Picture Library called "User Photos". Since the images are stored as files in a library, the default limit of 50 MB per file should apply there too. (You can increase the limit to 2GB per file)

Here is the Technet article with the library limits:

For your situation: has anybody made any customization on the "User Photos" library? Maybe somebody has added an event receiver to check the file size of the photo being uploaded?

Here is a detailed article on User Profile pictures in 2010. Maybe it can give you some info:

share|improve this answer
Great links and information, but I'm afraid they don't offer the correct answer. I've tried this on two seperate farms. Have you tried uploading a 5MB image? I think you may find you receive the same error message. – Tom Resing Jul 10 '12 at 16:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.