Displaying a selected range of recent uploads

jemostromjemostrom Registered Users Posts: 136 Major grins
edited July 19, 2014 in SmugMug Customization
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
for currentGallery in allGalleries:
    if currentGallery.haveHadUploadsInDays(14):
        currentGallery.displayRecentPhotots(6)
(if that made anything clearer)

Is this possible?
Jan Erik Moström

Comments

Sign In or Register to comment.