GGPKG panorama & responsive design

Everything concerning the Wordpress/Joomla/Drupal plugins
Post Reply
Vitaly
Posts: 36
Joined: Thu Oct 06, 2011 9:12 pm
Location: Ukraine
Contact:

I always used my panoramas only in dedicated window without any floating text beside.
Now I have to insert panorama in standard Joomla article. Panorama must be floated by some text.
I started to use GGPKG package format. Panorama occupies fixed width of a page.
To make it responsive, I tried to insert panorama code into div:

Code: Select all

<div style="width: 60%; float: right;">
{ggpkg file="pool.ggpkg" display_userdata="false" display_map="false"}
</div>
When I resize page (making it smaller by width), panorama remains in its fixed size. It is possible make GGPKG responsive?
trev
Posts: 19
Joined: Tue Sep 14, 2010 11:29 am
Location: Hampshire, UK

Try setting the width to 100% in the properties for the ggpkg plugin. I have just tried it and it seems to work OK.

Trevor
Vitaly
Posts: 36
Joined: Thu Oct 06, 2011 9:12 pm
Location: Ukraine
Contact:

I saw the plugin settings, but I thought that px size is only allowed value. Just tried 100% - it works! Thank you.
But because of fixed height there is some disproportion of panorama size while page resizing. Well that may be acceptably.

Anybody knows why I don't receive notification about new answers although "Notify me when a reply is posted" is checked?
Post Reply