Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Album
Last updated at 12:49 am UTC on 17 January 2006
Author: Diego Gomez Deck

A really simple (aka stupid) album generator.

Download


Screenshot

Uploaded Image: Album2.jpeg

How to use

   | album visitor |
album := Album fromDirectoryNamed: 'C:\temp\fotos'.

visitor := HtmlVisitor directory: 'C:\temp\album\'.
album acceptVisitor: visitor.

The #fromDirectoryNamed: message will create an album containing pictures and albums inside (1 picture per file, 1 album per directory). You can comment the stuff creating a file 'comments.txt'. The file has this structure:
   album: comment for the album
pictureName: comment for the picture named pictureName
pictureName2: comment for the picture named pictureName2


Example