Size of Album customization

uncool

Joined: 2005-09-08
Posts: 20
Posted: Fri, 2005-09-23 08:43

Hi,

I have a site I'm developing that basically has 3 views, they are all similiar but the layout are different. The main gallery is a view for categories, then inside each category is a list of projects, and then each project has its list of pictures. This all doesn't matter too much except that I would like to be able to customize the way the "size" shows up for the different view. For example, the main view should show how many projects are in each category, and how many total pictures there are.

The size template is inside the core templates, so I'm trying to find out if there is a way of customizing its output based on the theme.

Also, I'm trying to find out how to do a simple calculation inside that template. The way it currently shows is "# of Items (# of items total)". Where the first is the number of decendants and the second is the total number of children. Unfortunately, this doesn't correspond to the number of pictures or the number of albums in either variable. For my case, all my pictures are on the very lowest level, so the number of decendants happens to be the number of sub-albums in most cases. This would allow me to subtract the number of decendants from the total children to get the number of pictures, but I can't seem to do that. I have noticed that several other themes have simply used total children as the number of pictures, but this is inaccurate because it also includes a count for each album as an item.

Any help?