fancyapps / fancybox

jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
http://fancyapps.com/
7.27k stars 1.78k forks source link

mixed gallery - iframe and images wrong width calculated #705

Closed YuretzSS closed 11 years ago

YuretzSS commented 11 years ago

I need to make advanced image gallery: sometimes it's one picture but sometimes it's gallery inside fancybox.

What's wrong: if i click on picture which linked to picture fancybox window size is fine. But when i click on picture linked on iframe, fancybox's window width and height always smaller that they should be.

Here my page: http://mcgraver.ru/test.php

fancyapps commented 11 years ago

The script is not preloading images inside iframe or from ajax requests.