random image

hi, i am new to php and zenphoto. i would like to add a random image in a file in the root of my site, one level up from my zenphoto installation. I have tried a couple of the options available here and cant get it working. could someone kindly paste the code i need to to this?

thanks!

Comments

  • acrylian Administrator, Developer
    Please see the user guide for "zenphoto as a 'plugin'".
  • Hi, i am not using a cms for the rest of the site.. i would just like to include some php into my main home page... with something like this?
    <?php @readfile('../zenphoto/zp-core/random.php?
    num=15&height=200&width=200&class=one-image&album=albums/laminex-2010-palette-launch') ?>

    is this possible?
  • thanks.. ive got it happening.
Sign In or Register to comment.