That’s a feature of jpeg. Somewhat simplified jpeg encodes images in blocks of 8×8 pixels. It computes a discrete cosine transform of those blocks and quantizes the resulting coefficients. An interesting side effect is that one of those transformed values happens to be the average value of the 8×8 block. So by putting all of those values at the front of the file you can get a low res approximation before having downloaded the entire file.
This is not depending on the browser, but the image. If it is stored as “progressive JPEG”, a lower resolution version can be shown first because the first bytes of the file contain a rough version which then gets more detailed when more data is available as download progresses.
With increased download speeds, progressive JPEG fell a little bit out of fashion because it was no longer necessary.
Latest Answers