![]() |
|
images_per_pages not used ? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: images_per_pages not used ? (/thread-6689.html) |
images_per_pages not used ? - vincent3569 - 2010-03-03 hello i'm with zenphoto 1.2.9 and default theme. what the problem is ? images_per_pages not used ? - sbillard - 2010-03-03 This is covered in the troubleshooting guide. images_per_pages not used ? - vincent3569 - 2010-03-03 hello you're speaking oh this item : http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionnormalizeColumns I still do not understand. could you explain how can i do to have 16 ou 20 thumbnails displayed in my case ? thanks my website for exemple : http://vincent.bourganel.free.fr/zenphoto/index.php?album=Vacances+Ete+2009+Vars images_per_pages not used ? - vincent3569 - 2010-03-04 could you help to solve my problem of diplay ? images_per_pages not used ? - sbillard - 2010-03-04 Probably we cannot help you further than pointing you to the functions guide and themeing tutorials. This is because we have not made the theme you are using so really know nothing about it. BTW, the function you looked up is the correct one. You would need to look at the parameters you have supplied it--they are what is "adjusting" your images per page value. images_per_pages not used ? - vincent3569 - 2010-03-05 the theme i'm using to is a copy of default theme (the only change is the width of the theme). to understand the problem, i've restored the the default theme and i put 16 images_per_pages in the admin pages, the album display 18 thumbnails : that still do not match. my website for exemple : http://vincent.bourganel.free.fr/zenphoto/index.php?album=Vacances+Ete+2009+Vars could you help me to put the "right" paramaters in the "right" function ? images_per_pages not used ? - vincent3569 - 2010-03-06 hello still my problem: so I understood why I had 18 pictures when i put 16 images per pages in the admin tabs. so, I changed to "$ firstPageImages = normalizeColumns ('2 ', '4');?>". Is the function normalizeColumns works well? images_per_pages not used ? - sbillard - 2010-03-06 What you describe does not make any sense. The normalizeColumns() function will make NO adjustments if the images per page set in the admin tabs is an even multiple of the second parameter. This is just basic math, no way for it to work with some of the multiples and not with all. images_per_pages not used ? - vincent3569 - 2010-03-06 thank you for the basic math ;-)
according to you (and the basic math ;-) i should have 16 pictures whith 12 ou 20 images per pages in the admin tabs, all is going well see my website, under construction images_per_pages not used ? - acrylian - 2010-03-06 Well, you have to change that value on images_per_pages not used ? - vincent3569 - 2010-03-06 I changed the values in album.php and it works well. If normalizecolumns no point in index.php of the default theme, it would be better off. thank you for your help! images_per_pages not used ? - kagutsuchi - 2010-03-06 It does have a point in index.php, perhaps only on certain themes however. |