Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
nz-photo
Experienced
Topic Author
Posts: 248
Joined: 06 Dec 2007, 17:26

Thumbnails area position...

02 Aug 2008, 12:47

Hey guys.
Seems to have a small issue with the positioning of the thumbnails area as soon as I change the number of thumbs.
If evrything stays set to 0 (horiz, verti and maxnumb) the creation works neatly.
When I change some of these parameters, it sometimes creates itself far more to the right than centered.
If refreshing could recreate centered... If refreshing again or changing repertory to display, it goes to the right side..

Anyone had seen this ? (hope i'm clear enough though... ) :lol:

Edit I forgot the link where you could see the effect : nz-photo.com
Empty your mind, be formless, be shapeless, like water...
www.nz-photo.com
 
Hemmy
Posts: 14
Joined: 07 Jun 2007, 20:23

Thumbnail area position

03 Aug 2008, 17:00

Hello,


Yes you was clear enough !

I had the same problem after changing the number of thumbs.
I use the last V2 update (31/7). It doesn ´t matter what browser I use (I.E.-7 or Firefox).
Mostly the problem appears after quick reactivate a folder in the gallery menu.

I ´ve looked in the Showcase of this forum, and also the site http://www.christophergrant.net/new/ has the same problem.

Karl or Pain, do you have a solution for this issue ?


Thanx


Hemmy
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

04 Aug 2008, 10:13

This happens when using the new settings, like at nz-photo.com:
Code
<horisontalamount type="number" description="Sets the amount of thumbnails horisontally. 0 is auto" range="0,100">5</horisontalamount>
<verticalamount type="number" description="Sets the amount of thumbnails vertically. 0 is auto" range="0,100">5</verticalamount>
<maxamount type="number" description="Sets the maximum amount of thumbnails to display in a single page. 0 is auto" range="0,1000">25</maxamount>
I admit there are some positioning issues I need to look into here. However, I do question why you guys are using these settings? They were originally included so that it was easier to control amount of thumbnails when embedding the gallery into set-size pages, like blogs or other sites. For your galleries, where the width of the stage is variable depending on the users screen, I don't think you should be setting static amounts at all. This means means it will lock to a certain amount of thumbnails which may often be too much on low resolution screens(or even to little on high resolution displays). One of the huge improvements from V1 to V2 is that it controls layout of thumbnails depending on available screen size.

If you want to control it more, then why not use the following settings instead:
Code
<max_width type="number" description="Sets the maximum width for the thumbnails area" range="0,2000">700</max_width>
<max_height type="number" description="Sets the maximum width for the thumbnails area" range="0,2000">600</max_height>
Figure out how much space(700x600 by default) you require to display the amount of thumbnails you want. The benefit of using this method is that it will actually scale down IF the user has a smaller screen. Then it uses the minimum settings:
Code
<min_width type="number" description="Sets the minimum width for the thumbnails area" range="0,2000">200</min_width>
<min_height type="number" description="Sets the minimum height for the thumbnails area" range="0,2000">200</min_height>
You could turn up the minimum values for the width of the thumbnails area, but that would kind of go against the reason of having the setting, which allows the thumbnails area to scale down on lower screen resolutions. If you set the above to 700x600, same as maximum size, then thumbnails will simply not be visible on low screen resolutions.

Keep in mind that the settings above work in cooperation with the thumbnails margin which provides the minimal space around the thumbnails area on any screen resolution:
Code
<margin type="array" description="Sets the margin between the sides of the screen and the thumbnails. TOP,RIGHT,BOTTOM,LEFT">100,100,200,100</margin>
My original viewpoint for thumbnails, is perhaps to aim for a layout which fits snuggly(with enough margin) on 1280x1024. This because most new mainstream lower-end LCD screens have this resolution. However, keeping the thumbnails area dynamic with a lower minimum size, allows users on sizes 1024x768 and 800x600 to view it perfectly also. For users on very high resolutions (>1280x1024), you could increase the maximum size of the thumbnails area, but I think that simply creates too many thumbnails making it uncomfortable.

I can understand the settings and logic around this may be a frustrating. I will of course look into the issue of positioning anyway though.
 
winph
Experienced
Posts: 236
Joined: 19 Jul 2008, 05:07

04 Aug 2008, 10:20

better remove the horizontal, vertical and the maxthumb. so that people doesn't confuse. i rather use the maxwidth and height.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

04 Aug 2008, 10:21

winph wrote:better remove the horizontal, vertical and the maxthumb. so that people doesn't confuse. i rather use the maxwidth and height.
I will certainly give it some afterthought ...
 
User avatar
nz-photo
Experienced
Topic Author
Posts: 248
Joined: 06 Dec 2007, 17:26

05 Aug 2008, 05:49

winph wrote:better remove the horizontal, vertical and the maxthumb. so that people doesn't confuse. i rather use the maxwidth and height.
I do agree with that.
Thanks Karl as I didn't get these Maxwidth and maxheight parameters.
Both together with numbers are quite confusing, but I understand it could be useful to embedded galleries.

Thanks for your answer and help.

Edit : Just tested with that paremetrs and it works fine. Thanks...
Empty your mind, be formless, be shapeless, like water...
www.nz-photo.com
 
netmax
Experienced
Posts: 52
Joined: 23 Dec 2006, 08:17

08 Aug 2008, 08:41

How can i reduce the space between the thumbnails on a page? I thought it will be the "margin" parameter ... changed it from 100,100,200,100 to 40,40,40,40 ... but when i reload the gallery, nothing happens. The big spaces between the thumbs are the same as before ...
 
User avatar
nz-photo
Experienced
Topic Author
Posts: 248
Joined: 06 Dec 2007, 17:26

08 Aug 2008, 08:43

In Thumbnails --> frame you have the parameter SPACE, this is it.
The margin is for the thumbnails area position, i think.
Empty your mind, be formless, be shapeless, like water...
www.nz-photo.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

09 Aug 2008, 08:52

yes, thumbnails.margin is for setting the required margin space for the entire thumbnails area. To set the space between thumbnails, you must use thumbnails.frame.space, which sets the space between thumbs.