You are not logged in.

1

Tuesday, November 9th 2010, 4:34am

Image popup fits browser window height

In the krpano examples folder "image-gallery" I can see, that images are zoomed to fit my browser window height, size of images is not fixed - it depends on browser window size.

I want to make same effect, but just for one image after clicking on hotspot. Is that possible? Is there some ready solution for this?
Thank you.

VN2009

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Tuesday, November 9th 2010, 3:10pm

set the height of your image to a % then it will scale to that % of screen size. set the width="prop" to keep its proportion.

3

Tuesday, November 9th 2010, 8:11pm

thank you, it works. I didn't know about "prop"