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.
Comments on Allow including larger images
Parent
Allow including larger images
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.
Post
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).

4 comment threads