I have as site that uses zenphoto as photo-album. On my frontpage of my site (not the album) do i want a random photo from a certain album from zenphoto.
I found this code on the site but I have no idea how to implement this:
`@readfile(’http://www.ksaizegem.be/zenphoto/zp-core/random.php?
num=9&height=50&width=50&class=one-image’)`
Can you help me with this?
I don't know if it still works with the new release (as I stopped using this random photo script for months) but here is the way I used it (which is not necessarily the best way to proceed, maybe there is a new function in ZP to do that) :
1.First, you have to create a file called random.php in your zp-core directory containing something like that :
`