stacks-archive / blockstack-browser

The Blockstack Browser
Mozilla Public License 2.0
1.12k stars 199 forks source link

Uploading large photo fails silently #1608

Closed wbobeirne closed 6 years ago

wbobeirne commented 6 years ago

I tried to upload a profile photo that was taken with a camera uncompressed, weighing in at 6.2mb. The page didn't acknowledge the upload, and opening the console showed this error:

Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)

We should definitely handle and show errors. But also potentially as an enhancement, we could add some cropping and compressing ability client-side so that the user doesn't have to crack open an image editor (if they have one.)

wbobeirne commented 6 years ago

Closed via #1623.