Come hai scritto tu... ma occorre aspettare che l'immagine venga effettivamente caricata dal browser.

ciao