Is there a way to make browsers load images from the bottom to the top?
Imagine I have an extremely long image that takes 60 seconds to load. The content is designed to be read from bottom to top. Is there any trick I can use to ensure that the image loads from bottom to top, allowing users to start reading it even while it's still loading?
Thank you,
Here's a humorous "AAAAAND ITS GONE" meme related to this question.
Many thanks to all those who provided answers. Here are some summarized solutions:
Solution 1: (Derek's answer)
Flip the image and display it using -webkit-transform: scaleY(-1);
Demo: http://jsfiddle.net/Nk6VP/
Solution 2 (aloisdg's answer)
Use BMP
format, which prompts the browser to load the image in an "upwards" manner. While not optimal for saving large images, it presents a viable option as it eliminates the need to flip the image at the server-side.
Demo: http://jsfiddle.net/dfbPz/
(Remember to disable cache in order to see the loading in the demo)