Open joeyvandijk opened 10 years ago
I could implement a setup that if images are taking longer than 100ms to load, the next image will, by default, load an image-level lower (from -regular to -medium) for example.
just add it as optional i'm sure there are people who will be using this option
To implement a bandwidth detection setup I have to use extra HEAD-calls (HTTP) to determine the size of the image so I know the download speed at the end of the download. This information is not available after the load-event in Javascript.
I have not done this because every extra call I make will result in more latency especially when mobile or with a very bad signal (GPRS/EDGE and sometimes WiFi).
Any insights by others with cross-browser support or HTML5-compatible browsers?