Topic: panorama photos with sv2? fix width + scrollbar?

hey everybody!

i want to make a gallery with some panorama photos.
but i am really bad in progamming and have no idea how to do it...

the gallery needs a fixed width (is it possible to make in % not in px´s ?!) and a scrollbar.

please help.


soenke s.

Re: panorama photos with sv2? fix width + scrollbar?

You can set a gallery's width to be a fixed pixel value (rather than a percentage) if you like.
Just use a value such as '800px' (or '800' - the px suffix is optional) for the height Embed Code Parameter in your gallery's embedding code.
For example:

simpleviewer.load("sv-container", "800px", "600px", "222222", true);

You can enter a fixed pixel value into the Gallery Width text field in svBuilder-Pro's 'Customize -> Embed Options' section.

It is not possible to have a scrollbar within a gallery (to move around a panoramic image) but if you make your gallery wide enough (wider than the user's browser window), the the user's browser will provide a horizontal scrollbar by default (for the user to scroll to see the entire gallery).

Methods of scaling images within a gallery's image area can be chosen by using the imageScaleMode configuration option (in svBuilder-Pro's 'Customize -> Main Image' section.
Descriptions of the possible values for this configuration option (SCALE, SCALE_UP, FILL, STRETCH and NONE) can be found here.

Steven Speirs
SimpleViewer Support Team