I'm looking to have an album that is just a collection of the last 100 photos (or so) photos that have been added to any album. Is this possible? I've heard about dynamic albums but I've yet to figure out how to create one (not sure if that's the answer or not). Thanks, Rich
Comments
On the page for creating the dynamic album make sure that the search fields include just the tags field.
to keep this permanently up to date in the proposed way makes it impossible to use IMHO.
if not you could sort by the date/time of the picture taken...Anyways, there is a table called "images" with all the images, they all have album id's "albumid" which corresponds with the "albums" table, with the field of "id"
Ex:
get the list, sorting by the mdate or date taken, to show most recent, get the last 100 entries, and then for each image you receive, get the albumid for that image, and then you can figure out the album for it and then use that information to create a thumbnail and links...
This is of course my newb suggestion which I dont know a lot about PHP :P
Not to mention it would probably take some implemention to use zenphotos functions or to create new ones...
Im no zenphoto/php/sql pro... I can just look around :P
You could use the getImageStatistic() latests images option to get them. Depending on your PHP knowledge you could make a custom function and use a custom page with that that looks like an album page. Of course it would not intregrate into the "real" albums loop.
You have to make some comestic display with CSS or changing the code in imaga_album_statistic.php
Regards
Laurent