How to output a text file of filenames from an album?

Nosaj

Joined: 2004-10-01
Posts: 62
Posted: Thu, 2010-04-22 20:29

This seems so simple, I am hoping I am missing the trees for the forest...

I was looking through the forums trying to find out a way to export a text file from an album. Example: I have an album of 253 photos. I would like to end up with a text file (txt, csv, xls, whatever...) that lists all of the filenames/titles of the photos in a particular album.

Does anyone know of a module that may do this? Or possible another way?

Thank you.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2010-04-22 22:46

Add

{foreach from=$theme.children item=child}
{$child.title|markup}<br />
{/foreach}

at the bottom of album.tpl
Browse to the album in question
copy the text
save or whatever.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Nosaj

Joined: 2004-10-01
Posts: 62
Posted: Fri, 2010-04-23 14:25

Thanks Dave. That looks like how I may have to go at it. I was hoping to find way that an end-user (some of our photographers) could get a list while in the Gallery web GUI, rather than me as admin having to go in and pull out the info.
I will see when we can take down the Gallery to try this out.