Topic: settings to fit different screens/resolutions


I'm new user of SimpleViewer.

What do I need to do to get the gallery fit different screens/resolutions.
It looks perfect on my 1680 x 1050.
But if I look at my gallery on another screens or resolutions it doesn't  look as it suppose to

Which settings is best to use?


Re: settings to fit different screens/resolutions

Use gallery dimensions of 100% x 100% and ensure that any parent containers of the gallery have their dimensions defined using percentages rather than absolute pixel values, eg:

simpleviewer.load("sv-container", "100%", "100%", "222222", true);

This will ensure that your gallery is resized dynamically depending on the size of the user's browser window.

Also, set maxImageWidth="1680" and maxImageHeight="1050". … l#standard

You may also want to change the imageScaleMode which determines how the main image is scaled to fit the available area. … #mainimage

Steven Speirs
SimpleViewer Support Team