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
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17317
Posted: Thu, 2009-03-19 23:49

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

Login or register to post comments
aretha

Joined: 2009-03-19
Posts: 5
Posted: Fri, 2009-03-20 00:02

what are dynamic albums?

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17317
Posted: Fri, 2009-03-20 02:53
Login or register to post comments
aretha

Joined: 2009-03-19
Posts: 5
Posted: Mon, 2009-03-23 16:16

i need help creating an URL that will show all albums with Tag=Video. how do i do that?

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17317
Posted: Mon, 2009-03-23 23:14

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17317
Posted: Mon, 2009-03-23 23:15

Then you can use the links in head module or the link item module

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
aretha

Joined: 2009-03-19
Posts: 5
Posted: Tue, 2009-03-24 02:53

while parsing through the albums, how can i check if the album contains videos or not? is it $theme.children[albumitems].entitytype == 'GalleryMovieItem'?

Login or register to post comments