Member
Member
shaggy70   2010-12-13, 12:05
#1
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!
Administrator
Administrator
acrylian   2010-12-13, 12:07
#2
Please see the user guide for "zenphoto as a 'plugin'".
Member
Member
shaggy70   2010-12-13, 12:18
#3
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?
Member
Member
shaggy70   2010-12-13, 12:29
#4
thanks.. ive got it happening.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.