we use fancy box for displaying images from 3D visualization (after hotspot click) in this way
$.fancybox.open('<img src="/path/to/image.jpg" />');
this works great but big images are not resized/autoscaled to fit the screen
Any tips how to adjust image screen through js?
I tried something like
content: '<img src="/path/to/image.jpg" />'
to setup options but it fails with The requested content cannot be loaded