Hi, I would like to create a page with most viewed photos.
This should be the query run by PHP: SELECT * FROM sfondicell_items WHERE type LIKE 'photo' ORDER BY view_count DESC LIMIT 20
I ask you if you can show me what is the code that posts the images in the albums, so I avoid many unuseful work...
Thanks
Posts: 27300
I thought that there is a dynamic album module that does this?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
I don't know if there is a module that create an album with most viewed images. I've searched with google but I didn't find any result...
Posts: 8339
The dynamic albums module has "Random, "Popular" and "Updates" albums.
http://codex.gallery2.org/Gallery2:Modules
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 11
How can I install/download it?
Thanks
Posts: 27300
http://codex.gallery2.org/Gallery2:Installing_Additional_Components
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team