hi
there is the code I try to implement :
`
<?php
$gallery_object = new Gallery();
$album_object = new Album($gallery_object,'Portfolio.alb');
$image = getRandomImagesAlbum($album_object, true);
if (is_object($image) && $image->exists) {
echo '<a title="' . html_encode(gettext('Gallery')) . '">';
echo '[img]' . htmlspecialchars($image->getCustomImage(null, 400, null, null, null, null, null, true)) . '[/img]';
echo '</a>';
} ?>
[i]Image du jour[/i]
`
but it doesn't work : the random pic is taken from the whole gallery and not in my dynamic album.
what's going wrong ?