Hi,
would be great if someone can point me in the right direction.
I have a dynamic album called 'alle-bilder'.
I would like to display this album in a page.
I followed the instructions displayed under the tutorial for dynamic albums but can't get it working.
It would be great if someone can give me an advice how to get this working.
Ralf
Comments
first, you have to verify if your page.php have a line like this one :
` <?php printCodeblock(1); ?> `
then, you have to insert php code in codeblock 1 (with example above).
`
<?php<br />
$album = newAlbum("alle-bilder.alb");
if (is_object($album)) {
makeAlbumCurrent($album);
} ?>
<?php printPageListWithNav("« " . gettext("prev"), gettext("next") . " »"); ?>
<?php while (next_image()): ?>
<?php endwhile; ?>
<?php printPageListWithNav("« " . gettext("prev"), gettext("next") . " »"); ?>
`
fantastic :-)
Thank you
http://en.ralf-kerkhoff.de/seiten/alben
http://en.ralf-kerkhoff.de/seiten/alle-bilder
Thanks again for your help
The first page would probably have been possible with the main gallery page as well with unpublished albums. The 2nd could have been a direct link to the dynamic album used.
But as always whatever works ;-)
as acrylian, I don't understand your needs about album page (you have the main gallery page for that), but of course, you can do what you want :-)
a page with all picture is a good idea (it seems inspired from koken behavior, isn't it ?)
I did the same (dynamic album in a page) for a porfolio (selected pictures with porfolio tag), and with geotagged pictures, in order to display them in a googlemap.