I am finding a lot of non-vanilla and non answered, question of how to guarantee that the image(s) are fully loaded and ready for use.
I am writing a game and need to have all images loaded before starting the game.
I have a vague recallection that there was some sort of hack of checking the height of the image.
If there actually is a js vanilla answer to this, my apologies for the double post.