Is there a way to set priorities to images? I want certain images on my page to load before other do. Is this possible?
Images in HTML are loaded in the order that they are located in the web page file.
I suppose that you could use a placeholder in all of the HTML image tags and then use a preload script that you could order however you want. Then onload you would change all the HTML images SRC to the right picture in any order you wanted. The apparent load time would be longer because of the js to change all the image tags. But then people with js disabled would see a whole lot of nothing.
JS can be used to preload images in a different order in the head section. If the people do not have js enabled they will load it in the html order.
Oh..so just re-ordering the way things are in the html file should do the trick?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)