Member
Member
Witchhunter   24-03-2008, 23:17
#1

I see it at the top of themes and I've read the info on the info pages, but what's it actually for/do? If I have 3 columns on the front (album) page what do I do with it? :/

Oops sorry, wrong forum.

Member
Member
sbillard   25-03-2008, 03:45
#2

Well, that's a tough request--it is a complex function.

Bacicly (very simplified view) it figures out how many images and albums will fit on a page. In particular, it figures this out for the "transition" page where there are both album and image thumbnails on the same page.

There is more detail if you want, but I will stop here for now.

Member
Member
Witchhunter   25-03-2008, 20:23
#3

Hmm, which is the transition page? As mentioned in another thread my front page looks like this. Then when you click a view it goes into a grid of 6 across.

So would that make it 3, 3 and then 6, 6?

Member
Member
sbillard   25-03-2008, 22:16
#4

The transition page is the page (if it exists) is the page thatcontains both album thumbnails and image thumbnails.

Member
Member
sbillard   25-03-2008, 22:19
#5

$firstPageImages = normalizeColumns(ALBUMCOLUMNS, IMAGECOLUMNS);

The first parameter is the number of colums for albums, the second is the columns for images. The result of the function is the number of images that goes on the first image page (the Transision page.)

so, I guess from your question the values would be 3,6.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.