Optimize image loading in fancybox iframe