@acrylian
1- if I write :
`
<?php $albumobject = new Album($_zp_gallery, "albumsname");
$imageobject = newImage($albumobject, "iamgename.jpg");
if (is_object($imageobject) && $imageobject->exists) {
makeImageCurrent($imageobject);
printCustomSizedImage(gettext('Gallery'), null, 350, 350, 350, 350, null , null, 'ombreB');
}
?>
`
I have this error in debuglog :
Quote:{Sat, 07 Jan 2012 20:55:48 GMT} Zenphoto v1.4.1.5[8326]
Backtrace: Bad gallery in instantiation of album groupe-photo-ecully/portraits-low-key.
Album->Album called
from eval (template-functions.php(4699) : eval()'d code [21])
from printCodeblock (template-functions.php [4699])
from include (pages.php [12])
from include (index.php [5])
from index.php [155]
so I need the creation of a gallery object.
fyi, this code is used on personnnal home page, to display a slideshow.
3- you are right, the slash at the begenning is not required (I don't know where my mistake was)