Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs

Dashboard
Notifications
Mark all as read
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

A friendly error when trying to upload a profile picture more than 2 MB

+5
−0

When you try to upload a profile photo with more than 2 MB, it will result in 413 request (Entity Too Large):

413 Request Entity Too Large

I don't think this is a friendly error, a more friendly would be:

Preview

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

2 Mb is absurd (3 comments)

1 answer

+2
−0

This is an extremely common problem. The true geeks among us know how to resize and compress an image before uploading. The rest of the world just knows (barely) how to upload an original image from their phone, which can easily be more than 2 Meg., sometimes much bigger than that.

I discussed this a number of times in the early days of Codidact (e.g., the Forum). There has to be some limit for a bunch of reasons. This is a problem SomewhereElse as well. I actually made a small email-based solution at:

http://www.picturepdf.com/shrink/

My original (hence the domain "picturepdf.com") project is an email-based utility to convert a picture to a PDF, which I created after too many times dealing with customers who received images from elsewhere that should have been PDFs but weren't, and as a result would print too big or small, etc. The shrink page takes an image via email and turns it into a .jpg (no matter what the starting type, since .jpg is (a) universal and (b) compressible) with a maximum size of 1.5 Meg.

This is not a perfect solution. Ideal is something built in to Codidact and with more options. But anyone is free to use it (no charge, no watermark, images erased from my server as soon as the processing is done) and hopefully it can inspire a solution here.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »