I have setup a gallery on my website and I am quite impressed with it. It took me a long time and some tinkering to get it all setup and looking how I wanted, but there is one thing that is bugging me.
I have 3 main albums for my site, where users can upload pictures of different categories inside. I was wondering if there way a way to display the newest upload as the album cover for these 3 main albums.
I saw a module that you can choose your photo that you want on the album cover, but I was hoping for something that could use the DB and select the newest one.
If anyone could help me out, I'd greatly appreciate it.
Thanks to the developers for creating such a great product and sharing it!
Posts: 27300
I guess you could modify the http://codex.gallery2.org/Gallery3:Modules:random_album_highlight to use the most recent item and not a random item.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
I'm not really a PHP coder, do you think you could give me an idea on how to do that?
Posts: 27300
http://codex.gallery2.org/Gallery3:Modules:recent_album_highlight
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
Works perfect, thank you very much!