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
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the "town hall" (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.

Allow including larger images

+5
−4

Many images and screenshots captured today, are larger than 2 MB, the max allowed size on Codidact. This means users will regularly run into a barrier when attempting to upload images to their posts (or profile). Just now, I wanted to create a new post, which would benefit from some screenshots, however, that process was more complicated than it should have to be, because I was denied uploading the screenshots, as they were too large. I can still upload them, but I'll have to go compress them first. Codidact should accept images with a larger file size more reasonable today.

History

4 comment threads

Also a UX and accessibility issue (1 comment)
Realism about compression (3 comments)
Server Side is MUCH Better (7 comments)
Implementation (1 comment)

2 answers

+4
−0

I think there are two considerations, input and output. We don't want to render more than is reasonable to see in a web page, so either (a) we're transmitting a huge image and the browser scales it down (slow!) or (b) we're transmitting a huge image and the browser doesn't scale it down (bad UX!) or (c) we're transmitting a suitably scaled image (ideal). Currently, if I understand correctly, we're doing a mix of (a) and (c) -- scaling down at render-time if needed and limiting how big the image can be to start with.

Many phones these days take pictures that are larger than 2MB, and editing on a phone can be difficult. I'd like it to be possible to upload a larger image and have it be scaled down as part of the upload process to the maximum width/height we're willing to render, whatever that is. This would mean accepting larger input but only storing (and paying to store) what we plan to use for output. This could be either automatic at the back end or something the user has to confirm during the upload ("scaling down 40% (ok) (cancel)"). If we did something like this, then the size limit could be for the scaled-down image, regardless of the input size.

If we could build in scaling at upload time, then that might open the door in the future to other at-upload-time edits, like cropping (another feature request we've seen).

History

1 comment thread

If images are resized client-side before uploading to the server, we'll mitigate the issue where the ... (2 comments)
+1
−2

The maximum size limit should not get in the way of legitimate and properly edited images. A 1920 x 1080 screen has 2.1 MPixels. Just about any compression algorithm should be able to get that down to 2 MB without losing any real information, especially considering that large areas of most screens are flat colors.

However, posting a shot of your entire screen should be exceedingly rare. We probably don't need to see all the windows on the screen, the window borders, etc. People should be taking some care to trim and resize any image posted here so that it shows what it needs to without wasted space, and not cause wasted time by those trying to interpret the image. If a size limit prohibits lazy screen shot dumping, that's a Good Thing.

Properly trimming, sizing, and editing an image is no different from properly editing and proofreading the words of a post. A post is written once, then read multiple times. It makes sense to spend the extra effort once to make it easy to read the multiple times. Not putting the effort in can be seen as rude and will usually attract well-deserved downvotes.

Added

A great example of what we don't want just popped up. See the image in THIS question. No attempt was made for even basic trimming, to the point where the stuff at the bottom actually adds confusion to the question. That image was posted at 2083 x 1461 pixels, although it ultimately only got displayed at 640 or so pixels across.

If the system didn't accept the image as-is and the user was forced to edit it, we probably would have gotten a better result. Maybe we need a pixel size limit too, not just a storage limit.

History

3 comment threads

"to the point where the stuff at the bottom actually adds confusion to the question." Although the st... (2 comments)
Your example is bad (1 comment)
2 MB barrier is only bad UX, not quality assurance (3 comments)

Sign up to answer this question »