Displaying a selected range of recent uploads
jemostrom
Registered Users Posts: 136 Major grins
I want to have a page/gallery that lists the latest uploads, my goal with this page is to give the viewer a chance to see in which galleries new photos have been uploaded.
I'm able to do that by creating a page, adding a "Show multiple photos" and set it to show "Recent photos". However, there is a problem with this ... it shows too many photos. For example, if I upload 5 photos to one gallery, 10 to another, and 347 to a third in that order. This mean that the latest uploads page will show some of the 347 recent uploaded but not any from the other two galleries.
What I would like to see if some way of showing perhaps the 5-10 latest from each gallery that have received updates in the last 14 days or something like that. Something like this
Is this possible?
I'm able to do that by creating a page, adding a "Show multiple photos" and set it to show "Recent photos". However, there is a problem with this ... it shows too many photos. For example, if I upload 5 photos to one gallery, 10 to another, and 347 to a third in that order. This mean that the latest uploads page will show some of the 347 recent uploaded but not any from the other two galleries.
What I would like to see if some way of showing perhaps the 5-10 latest from each gallery that have received updates in the last 14 days or something like that. Something like this
for currentGallery in allGalleries: if currentGallery.haveHadUploadsInDays(14): currentGallery.displayRecentPhotots(6)(if that made anything clearer)
Is this possible?
Jan Erik Moström
0
Comments
http://www.sherlockphotography.org/Customisations/Activity-feed
Please check out my gallery of customisations for the New SmugMug, more to come!