I have noticed that even though the displayed image here is limited to only 630 pixels wide for the display (via height and width settings in the HTML), there can still be a 10-megabyte image sitting there behind it — so that when you bring up the page, your browser is slowly grinding through, all just to fit in that little box. In fact, as far as I can tell, there seems to be no limit to the size of images that Stack Exchange sites will autoload into people’s browsers. It does not matter whether it is 100k or 100 megabytes, or even larger. Anything goes, no matter what. This quite surprised me.
My question is this: is this no-size-limits-on-images thing here by design and intent? If not, then if it is just an accident of the implementation, is it a desirable feature or an undesirable one?
Perhaps I am wrong, but it seems odd to me that people can embed gigabyte (or whatever) images in their postings without any warning to other users, nor provision to limit their exposure. Some people really do pay for bandwidth, or only have so much of it. That’s why most sites, even Wikipedia, carefully set size limits on images that are diplayed on the main page without people clicking through. It seems a shame that rate-capped users would have to disable all images for fear of hitting a giant image on an SE site.
Is there any sort of notion that there might be a size above which it becomes a burden on other users, and is therefore discouraged? If so, what is the appropriate action if you stumble on a post with one of these gigantic images?
This arose in chat, where there is no opportunity to have a thumbnail that click-throughs to the full-sized image. It is worse there than on the main site. That’s because on the main site, if you want, you can arrange for a thumbnail to be displayed which if clicked through, takes you to the full-sized image. For example, like this:
That uses the trick of imgur thumbnail magic with the “l” suffix mentioned in this answer, like this:
For example, like this: <a href="https://i.stack.imgur.com/CLQzM.jpg"><img src="https://i.stack.imgur.com/CLQzMl.jpg"></a>
I was somewhat surprised that the upload mechanism did not already do that automatically. It seems to me it could be made to, so that only if you click on the image do you pay the full cost. Of course, this would only work for imgur uploads, not arbitrary image links.
And while conscientious users can do such a thing on the main site, that wouldn’t work in chat. It would require some coding changes, since you cannot use real HTML there as I have here.
Am I missing something obvious, or is this a less than optimal state of affairs?
Edit: I found several tangentially related postings, of which the question on “Please do something to encourage people to scale down their giant heavyweight photos” seems the most interesting and relevant.