resize on modal image load. fixes #13