Display how many photos in entire gallery
XCOM
Joined: 2002-12-30
Posts: 474 |
Posted: Fri, 2010-08-20 17:29 |
Hello! I want to display how many photos are stored in my entire gallery (not per album or subalbum) in my footer via theme.tpl. ________________________________________ |
|
Posts: 8339
{g->block type="core.ItemInfo" item=$theme.item showDate=false showSize=true showOwner=false class="giInfo"}
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 474
Tbank you for response.
This function prints the amout of all elements (photos + directories) and it does not count hidden photos for guests.
________________________________________
[G2] Wallpaper Fotogalerie | Gallery Blog | G3(dev) Barcelona Fotos