Is there a way to Show Image albums on one page and Video albums on another page?
|
aretha
Joined: 2009-03-19
Posts: 5 |
Posted: Thu, 2009-03-19 17:58
|
|
Hi, I would like to know how to display image albums on one page and video albums on another. What are the parameters used to distinguish these types of media? Also, say i wanted to put a link to the most recent Image album and put another link to the most recent Video album, how would i go about doing that? thanks very much |
|
| Login or register to post comments |

Posts: 17317
You can have different albums- one for photos one for videos.
You can use ffmpeg ( http://codex.gallery2.org/Gallery2:Modules:ffmpeg ) to get a thumbs of your movie and use the watermark feature to add a film strip to the thumb.
@links to dynamic albums: it has a block or use the link item module or the linksinhead module.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
what are dynamic albums?
Posts: 17317
http://codex.gallery2.org/Gallery2:Modules:dynamicalbum
http://codex.gallery2.org/Gallery2:Modules:keyalbum
http://codex.gallery2.org/Gallery2:Modules:tags
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
i need help creating an URL that will show all albums with Tag=Video. how do i do that?
Posts: 17317
example . com/gallery2/main.php?g2_view=tags.VirtualAlbum&g2_tagName=Video
or if you have the rewrite rule for the module enabled then it would be:
example . com/gallery2/tag/Video
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 17317
Then you can use the links in head module or the link item module
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
while parsing through the albums, how can i check if the album contains videos or not? is it $theme.children[albumitems].entitytype == 'GalleryMovieItem'?