Topic: Remove spacing above thumbs and image


I'm using SimpleViewer v.2.1.2 and trying to figure out how to get rid of the empty space on the top, above the main image and thumbs which are placed on the side. Please see the link:

The problem is that we don't want to use a gallery title, and the buttons on the top, and in the same time need the captions to be fully displayed without being cut off. Reducing the height of the gallery doesn't work -- it cuts off the captions area.

THanks for your prompt replay,


Re: Remove spacing above thumbs and image

Your Maximum Image Width and Maximum Image Height are set incorrectly.
The maxImageWidth and maxImageHeight variables are defined on this page: … tions.html
For an optimal layout, they should be set to the width of the widest image and the height of the tallest image in your gallery respectively.
Currently, they are set to 400 and 400.
However, the second image in your gallery is 480 x 579 so the values should be set at least this high (I have not checked the dimensions of all images in your gallery).
With these variables set correctly, the gallery will occupy more of the available space leaving less of a surrounding gap.
Instructions for editing a gallery can be found here: … ewer/#edit

Steven Speirs
SimpleViewer Support Team.