Hi Klaus,
I already tried "range" but it will fit my image on its width and I want to fit in its height.
I use limitview Lookat because when I zoom in the image, I want my zoom to go directly where the mouse is (zoomtocursor).
That's why I don't use Fullrange too. It's quite difficult to explain (we talked about it with Tuur) and I made a video to see what I mean.
Here is the example :
https://www.youtube.com/watch?v=VDXwc76T3qU
I made this piece of code and now it seems to work fine, what do you think about it ? I made an action that will retrieve the calculation made by the droplet in KRpano for the "IMAGE" part then it will copy this results in the "VIEW" part "VFOV" value and FOVMAX to limit zooming out.
---------------------------------------------------------------
<events onxmlcomplete="fitscreen();" />
<!-- view settings -->
<view
devices="desktop"
hlookat="0"
vlookat="0"
maxpixelzoom="1.0"
limitview="lookat"
fovtype="VFOV"
/>
<action name="fitscreen">
copy(view.vfov, image.vfov);
copy(view.fovmax, image.vfov);
</action>