Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gravatar Upload: Display correct error message (possibly immediately) for images that are too large #16743

Open
v18 opened this issue Jul 31, 2017 · 19 comments
Labels
[Feature] User & Account Settings (/me) Settings and tools for managing your WordPress.com user account. [Status] Stale [Type] Enhancement User Report This issue was created following a WordPress customer report

Comments

@v18
Copy link
Contributor

v18 commented Jul 31, 2017

Steps to repro:

  1. Go to /me
  2. Upload this image as the new Gravatar
  3. See the error "Hmm, your new Gravatar was not saved"
  4. In the console, see error "413 Request Entity Too Large"
@v18 v18 added the [Feature] User & Account Settings (/me) Settings and tools for managing your WordPress.com user account. label Jul 31, 2017
@mashmac2
Copy link

mashmac2 commented Aug 7, 2017

#560552-chat also had this issue with a 5 MB image, resizing it smaller (1000 px square, 50 Kb) worked.

@cecilearkay
Copy link

cecilearkay commented Aug 14, 2017

Another report through Zendesk: 628644-zd-woothemes
I'm asking for clarification on the picture they are using.

Note that I get the same error message with a picture that's 18Kb. :/

@v18
Copy link
Contributor Author

v18 commented Aug 14, 2017

Note that I get the same error message with a picture that's 18Kb

@cecilerainon can you list the steps you used to see this error message, and also share a screenshot of the network tab in the console dev tools for the gravatar-upload network request? Feel free to DM me with any info/questions as well.

@cecilearkay
Copy link

Sure! Steps on both SU and SSP:

  • Go to WordPress.com/me
  • Click on upload avatar and choose pic
  • Error message

Here is a GIF I made, where I try through SU with that 18Kb picture on the user's account and then try on my own account where it works fine: http://cld.wthms.co/baeVYW

As you can see, there's nothing showing up in the console.

@v18
Copy link
Contributor Author

v18 commented Aug 14, 2017

@cecilerainon thank you for the details & video! I still can't repro. Are you able to reproduce this using:

  1. Using another image on the same account?
  2. Another account through SU?
  3. On your own test account, not through SU?

For this case you're able to reproduce, can you see what error message you see in the network tab (you have to make sure to go to the network tab before starting the upload). It'll look like this:

gravatar-upload-network

@cecilearkay
Copy link

cecilearkay commented Sep 4, 2017

I'm sorry @v18, this got buried in my mailbox and I didn't get to it til then. It looks like the user was able to finally upload a picture.

I did however try n.2 and I was able to reproduce the error I had on that user account.

This is the error I got:
30019823-1fa3f60a-9162-11e7-8a9a-7d4cb08c2a76

@v18
Copy link
Contributor Author

v18 commented Sep 6, 2017

@cecilerainon thanks for trying the steps. I think the issue you're seeing in SU might be unrelated to the Gravatar upload, and be a result of how user data is handled in SU. It should be opened as a separate issue on GH, and I'll table looking into it now.

@stale
Copy link

stale bot commented Jun 3, 2018

This issue has been marked as stale and will be closed in seven days. This happened because:

  • It has been inactive in the past 9 months.
  • It isn't a project or a milestone, and hasn’t been labeled `[Pri] Blocker`, `[Pri] High`, `[Status] Keep Open`, or `OSS Citizen`.

You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation.

@stale stale bot added the [Status] Stale label Jun 3, 2018
@stale stale bot closed this as completed Jun 10, 2018
@aisajib
Copy link

aisajib commented Sep 16, 2018

A user at 1420601-zen reported the same issue. They were seeing the error, "Hmm, your
new Gravatar was not saved. Please try uploading again." I had them send the image (it's attached on the ZD ticket) and tried it myself. I saw the error too. After I sent them a resized version that's below 1 mb, it worked without an issue. Noting here for future reference.

@v18 v18 reopened this Sep 18, 2018
@stale stale bot removed the [Status] Stale label Sep 18, 2018
@htdat
Copy link
Member

htdat commented Sep 19, 2018

The maximum size of Gravatar images is 1MB.

See more in 2813-gh-jpop-issues

@arunsathiya
Copy link
Contributor

Confirming that this is still an issue. I tested it a minute ago and files do not appear from https://wordpress.com/me but the same file can be set as display photo on gravatar.com.

@arunsathiya
Copy link
Contributor

arunsathiya commented Jan 25, 2019

#8444847-zen

@tbradsha
Copy link
Contributor

Reported again here: 13132665-hc

@stale
Copy link

stale bot commented Feb 24, 2020

This issue has been marked as stale and will be closed in seven days. This happened because:

  • It has been inactive in the past 9 months.
  • It isn't a project or a milestone, and hasn’t been labeled `[Pri] Blocker`, `[Pri] High`, `[Status] Keep Open`, or `OSS Citizen`.

You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation.

@stale stale bot added the [Status] Stale label Feb 24, 2020
@kristenzuck kristenzuck added the User Report This issue was created following a WordPress customer report label Apr 29, 2021
@jp-imagines
Copy link

Another report here: 3955910-zd

Confirmed via browser console's network tab the same "Invalid account address" error as above. User's email on WP.com and in ZD don't exactly match; could that be related?

@Sheikhlipu123
Copy link

@github-actions
Copy link

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.

@tbradsha
Copy link
Contributor

Still an issue.

@github-actions
Copy link

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] User & Account Settings (/me) Settings and tools for managing your WordPress.com user account. [Status] Stale [Type] Enhancement User Report This issue was created following a WordPress customer report
Projects
None yet
Development

No branches or pull requests