Album
view release on metacpan or search on metacpan
that the style sheets match the formats by checking the VERSION
lines.
* Index pages are now written in subdirectory index/ , and numbered
index0001.html and so on.
* The thumbnails are moved from thumbnails/ to index/ . The
thumbnails/ directory is no longer used.
A quick way to migrate an existing album is to remove all
index*.html pages, and rename the thumbnails/ directory to index/ .
(And, probably, remove the css/ directory as well.)
#### WARNING: INCOMPATIBLE CHANGE ####
Almost all of the formatting has been moved to the style sheets.
As a consequence, newly generated pages will probably not look as
they should if you have style sheets from a previous version of
album.
Album now verifies that existing style sheets start with a line:
# Migrating from Version 1
The structure and content of the files have changed from version 1 in
an INCOMPATIBLE way. Hopefully, the version 2 approach will be
flexible enough to last longer.
If you didn't change any style sheets, migration is easy:
- remove all `index*.html` files
- remove the `css` directory, with contents
- rename the `thumbnails` directory to `index`
If you did change style sheets:
- remove all `index*.html` files
- move the `css` directory, with contents, to a backup location
- rename the `thumbnails` directory to `index`
- run `album` with `--extcss` once
- apply your style sheet changes to the new style sheets
lib/Album/Tutorial.pm view on Meta::CPAN
=head2 Using EXIF information
When importing images from a digital camera, 'album' can use the EXIF
information that is present in these files:
=over 4
=item *
it will use the time stamp rename it to YYYYMMDDhhmmssSSSS (where SSSS
is a sequence number);
=item *
it will set the modification time of the file to the time stamp;
=item *
while copying the image, it will be rotated if necessary,
according to the 'orientation' property in the EXIF information.
( run in 0.587 second using v1.01-cache-2.11-cpan-6aa56a78535 )