ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kavanagh <>
Subject Re: Photo Album website generation using ANT
Date Tue, 27 Jul 2004 11:38:09 GMT
>From experience, I can say that Cocoon offers a nice platform for this
kind of application. It could easily be configured to dynamicly create
an index of all the available content. You'd probably want to automate
the thumbnail creation (maybe via ant as mentioned in the other
reply). Check out and/or e-mail me off the ant list
for more info.


On Tue, 27 Jul 2004 00:12:56 -0400, Daniels, Doug
<> wrote:
> Hi,
> I was wondering if anyone had any ideas what external tools I could use with ANT to automate
the building/updating of an online photo album.
> Here is the scenario:
> I take digital photos every weekend or so and I store them in a directory IE: c:\photos\ThisWeek-2004-07-26
> Then I use Dreamweaver/Fireworks to create a Web Photo Album with thumbnails and specified
thumbnails per line etc. It then outputs it to c:\web\photos\ThisWeek-2004-07-26\index.html
> So I was thinking it'd be nifty if I could piece together some kind of ANT solution that
would let me do all this by running an ant script in my c:\photos directory that would check
if all my generated albums are up to date, and if not it would generate the necessary ones
in c:\web\photos.
> So I've looked into the external tools and I think I'm going to need to use the ANT image
processing tasks from:
> Jakarta ANT Image:
> Also using FMPP for creating the static HTML pages
> I was thinking maybe I could provide some kind of XML style for how each photoalbum should
look like, and be able to change it in the ANT command.
> So I was thinking the ANT command would look something like this:
> <WebPhotoAlbum src="C:\photos\ThisWeek-2004-07-26" dest="c:\web\photos\ThisWeek-2004-07-26"/>
> and then there would be additional optional paramaters for things like: thumbWidth, thumbHeight,
thumbCol, scale (scale original to smaller % version). Maybe even a style="style.xsl" or .xml,
depending on how the photoalbum style is defined.
> Then I could use ant-contrib foreach task to loop over every directory in C:\photos,
generating a
> <WebPhotoAlbubm src="${PhotoAlbum}" dest="${destDir}\${AlbumName}"/>
> Has anyone attempted anything like this or has any ideas on how I should proceed?
> ~Doug Daniels
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message