Issue with scaling when using iframes

Q&A about the latest versions
Post Reply
DeeJay58
Posts: 43
Joined: Mon Jun 01, 2020 10:53 am
Location: Graz/AUT

Hi!

I have the following problem with scaling when I use iframes:

As you can see in this example, I don't manage to scale down the textbox when the project is inserted with iframes.

https://virtualtour.dronepix.at/KiGa/At ... index3.htm

Basically I scale it under Appearance/Scaling and tell it If Height < 481 then x: 0,20 as an example. But that doesn't help in this case. How can I solve this?
It looks fine on the mobile, but nothing changes on the PC in the browser. What can I do?



Thanks for the help!
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
If you have a fixed size iframe then it does not need to be responsive.
Just make the text box larger so you can read it.
If the iframe change size with the browser then it would make sense.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
DeeJay58
Posts: 43
Joined: Mon Jun 01, 2020 10:53 am
Location: Graz/AUT

Hello!

I don't think you understand my problem in this case. When you open the link, you should see, that the text box is much too big, also is the full screen button at the bottom centre.

This is not the case in full screen.

The project is actually responsive so that it also works on smartphones (which it does).
But now the client wants to embed it on his website as a small window with the option of using it as a full screen. And that doesn't work at the moment because the text box then covers too large sections and I don't know how I can fix that (I can't just change the textbox size, because then it won't fit in full screen mode).
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
If this is going to be in a 640 x 480px iframe then you only need to worry about the size if it is larger.
So build the tour so all the elements are the correct size for the 460x 480px window, logo, text box etc.
Then you can use a scaling logic block to say if the player width is more than ">" 640px, then scale up.
Regards,
Maybe post your skin.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
DeeJay58
Posts: 43
Joined: Mon Jun 01, 2020 10:53 am
Location: Graz/AUT

I understand what you mean. I'll give it a try (altough I don't know in which size they will embed it). But why doesn't it work vice versa like I did?

Have a nice evening, Thank you, DeeJay58
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Without seeing how the skin was made it would be difficult to say what was the issue.
But see how you get on.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply