Padding panorama on screen

Q&A about the latest versions
Post Reply
AeroPixel
Posts: 32
Joined: Sun Sep 20, 2009 8:54 pm

Can we control panorama size / area on the screen? I was playing with CSS and iFrame but, there must be some simple solution to display panorama/image in less than 100% width screen. Any ideas?



Pano Shrinked.jpg
Pano Shrinked.jpg (170.36 KiB) Viewed 13833 times
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Please see this document about skin margins: https://ggnome.com/doc/pano2vr/getting- ... kin/props/
You can also show and hide margins with buttons using Javascript, please see the attached project, it opens a map and sets the margin so the map is not over the panorama.

Set margin using a percentage:
viewtopic.php?p=70638#p70638

Also checkout our API page: https://ggnome.com/doc/pano2vr/referenc ... cript-api/
Regards,
Attachments
project.zip
(13.47 KiB) Downloaded 181 times
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/
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

A much underused feature of Pano2VR, but I love it and use it a lot.

You can see it in use in this tour https://tonyredhead.s3-ap-southeast-2.a ... index.html

Tisland.jpg
Tisland.jpg (360.02 KiB) Viewed 13821 times


When you click on the Map icon, I set the margins using the Javascript method Martin mentioned in his post.


Tisland_map.jpg
Tisland_map.jpg (358.71 KiB) Viewed 13821 times


Cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply