number of thumbnails displayed
Posted: 16 Oct 2009, 07:28
by jeff
hi, i want to change the number of thumbnails that are shown when opening a menu section.
possible?
greets,
J
Posted: 19 Oct 2009, 03:31
by mjau-mjau
Good question ... But I think I will need to explain some issues first:
Imagevue thumbnails layout was built in a flexible way, so that it adapts depending on what screen resolution the viewer has. On BIG screens, a layout may for example display 25(5x5) thumbnails, while a small screen may display 12(4x3). Setting a specific amount of thumbnails like you want to do, and you would loose this feature. You would have to set very few thumbnails, just to make sure all thumbnails are visible for the visitors who are on low screen-resolutions also.
Anyway, there are some settings that can be toggled with. Go to admin -> settings -> (Default values in parenthesis):
thumbnail.thumbnails.margin (100,100,200,100)
thumbnail.thumbnails.min_width (200)
thumbnail.thumbnails.min_height (200)
thumbnail.thumbnails.max_height (700)
thumbnail.thumbnails.max_width (600)
MARGIN setts the minimum margin around the thumbnails area, so that there is always some "space" on all 4 sides above, left, right and below of thumbnails. The other 4 settings, set the min- and max width/height of the thumbnails area, which contains the thumbnails. The thumbnails area will NEVER go smaller than the minimum(200x200) thumbnails area, but it will NEVER go beyond the maximum(700x600) thumbnails area either.
Now, for example, if the user is on a LARGE screen, you can be almost certain the thumbnails area is at max(700x600). The amount of thumbnails that display within this area depend on your theme settings thumbnail-size+frame-margin+space.
You should be able to change a few of the settings above to either increase or decrease the thumbnails area size, and you can therefore experiment on how many thumbnails display horizontally and vertically. Just keep in mind, if you want the amount of thumbnails to be the SAME no matter what screen resolution the visitor has, then you need to set the MIN_ values to the same as the MAX_ values. However, we do not recommend this, because its as supposed to be a benefit that different screen sizes see thumbnails layout optimized for their specific resolution.
Also, keep in mind that the main MARGIN setting will outweigh any of the other settings, that is if it comes into effect. Of course, you can set margins to 0,0,0,0, and it wont have any effect.
Sorry to make it so technical, but I thought I ´d better explain why the gallery works the way it does.