when I include printLatestImages(12); funtion it has wrong path to the zenphoto and the thumbs doesn't show on my external page even that I defined zenphoto at the begining of the page.
So where did you exclude that function? It is meant to be used on Zenphoto theme page and not external. If you want to do that oyu need to follow the "zenphoto as plugin" way described on our user guide.
Comments
<?
define('SERVERPATH',str_replace('\\','/',dirname(__FILE__)).'/galeria');
require_once(SERVERPATH.'/zp-core/template-functions.php');
require_once(SERVERPATH . "/zp-core/zp-extensions/image_album_statistics.php"); ?>
then I've putted: <?php printlatestImages(12); ?>
and that worked fine untill I've uptaded the zenphoto. now it shows the file names, but the link to the pictures is wrong (not showing "/galeria").