Dynamic Image re-sizing?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
panovrlover
Posts: 108
Joined: Thu Sep 17, 2009 7:39 pm

Dynamic Image re-sizing?

Post by panovrlover » Mon Dec 04, 2017 4:31 pm

Hi all,

Currently working on a tour that will have a popup rectangle containing text on the left, with images on the right. I can adjust the rectangle and text boxes to resize using percent figures which works great. I can also do this for the images on the right hand side, although it distorts them when the size of the browser window is moved. Is there any way to make it so that any images on the right hand side will keep their relative size when re-sizing the rectangle? Thanks.

User avatar
Hopki
Gnome
Posts: 8924
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Dynamic Image re-sizing?

Post by Hopki » Wed Dec 06, 2017 7:28 pm

HI,
For images use the scale logic block.
So use player width, less than xxx, change scale to 0.8/0,8 as an example.
Regards,
Hopki

panovrlover
Posts: 108
Joined: Thu Sep 17, 2009 7:39 pm

Re: Dynamic Image re-sizing?

Post by panovrlover » Wed Dec 13, 2017 4:02 pm

Excellent, thank you Martin.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests