Overlay - image fit to window width

oskar / 2013-03-03 17:09:55   

Dear indexhibit forum users,

This is the website in question:

stefannilsson.dk/works/kruell/

When i use overlay, and i open a wide image (for example a 4:3 image), it sets the width of the image in relation to the window height. But this means that the image becomes wider than the window. Is the image not supposed to fit inside both the width and height of the window?

Or is it me who has messed something up?

Kind Regards,

Oskar

Edited by Vaska: no signatures allowed in this forum...

Vaska A / 2013-03-03 17:20:28   

No, it's not supposed to work that way. You would need to customize it to do that kind of thing...

Plus, you switched to another format so I can't even see what's going on.

oskar / 2013-03-04 09:30:49   

To clarify, it is for the 'on-click' option of the visual index format.

Sorry if it was changed, it should be Exhibition format: Visual Index and On-click: Overlay now.

So, i need to customize jquery.ndxzbox.js to get the overlay to take both window width and height into consideration for its image resizing?

This thread has been closed, thank you.