Printlatestimages working on one site, not the other

I am using this code on my site and that works ok:

`
<?php printLatestImages($number='24',$albumfolder = '',$showtitle = true,$showdate = false,$showdesc = false, $desclength = 24,$showstatistic = '',$width = 160,$height = 160,$crop = false,$collection = false); ?>
`
Using this same code on another site doesn't work. The only difference is that that other site runs from the root, where in my own site ZP is under a subdirectory of the root on my webserver.
I can't find the function on the template-functions page. Also it's not a plugin. What can be wrong?

Edit: both sites use ZP 1.3

Comments

  • acrylian Administrator, Developer
    First, the parameters itself should not be writtne (printLatesImages(5) and not printLatestimages($number=5, besides no quotes for numbers).

    Second. What do you mean with another site? It is a Zenphoto function, of course it does not work outside...
    It is a plugin function, from the image_album_statistics plugin (the is easily to be found on our documentation....)
  • Ah... forgot or did not know it was part of the image_album_statistics plugin. Now that I activated that, it works :)
Sign In or Register to comment.