Chame a função JavaScript após a carga div

document.querySelector('img.my-image').addEventListener('load', function(){
  // The image is ready!
});
Splendid Shrew