I have a gallery of thumbnails on a webpage, and when clicking on one of the thumbnail, the full image appears in a popup. All good, but the image in the pop-up loads only after the parent page finished loading, which can take quite long.
It is my understanding that modern browsers, when rendering a page, does it in a serial way, in this order: text, images, local popups. But I might be wrong.
So, can anyone give me a hint on how to make it load the image in the popup before the parent page loads completely?