This object is in trash! 

Locking Image Proportions Using Resize Action On Window Resize Interaction

Eric O'Brien shared this question 5 years ago

Fairly new to Prototyper and I'm toying around with some of the new responsive design functionality and can't figure out how to lock image proportions when resizing the image on window resize interaction. As a test, I created a new web prototype, dropped an image on the screen, selected the image, and added the event: On Window Resize do Image Resize (Calculated at 32 %of WindowWidth x 58 %of WindowHeight). As you can imagine, this allowed for breaking the image proportions, stretching/compressing the image depending on how the window was resized. What is the best approach to keeping the image proportions, in this scenario?