![]() |
|
random photo on external page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: random photo on external page (/thread-4940.html) |
random photo on external page - Phoonix - 2009-04-01 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. `@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? random photo on external page - flu - 2009-04-01 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 : random photo on external page - Phoonix - 2009-04-01 Thank you, your script works fine for me. |