I created a simple project with a picture of a fly and two buttons which zoom in and out of the image. Now, I want to be also able to pan around (look around) the image when it's zoomed in. I added an action which controls the image position on drag and it works when the image is zoomed in. When it isn't there are white gaps appearing around the image when it's repositioned.
Is there any way to make an image scrollable, just like a text box can be when it's contents go beyond the textbook container but stop when the edges of the image touch the edge of the document?
Feel free to have a look at the attached example. Maybe you know a better way of doing this.
Hoverfly.hype.zip (2.6 MB)
Thanks for your help.