Displaying Random Photo from Coldfusion Page

dlongnecker

Joined: 2007-03-08
Posts: 21
Posted: Wed, 2007-04-18 22:06

My website is all in coldfusion code. Also running Gallery 2 for various photo galleries. Works well. When the user is on the website (but not in gallery) I have a random picture displayed on the upper left. I currently manually create the random picture by dumping thumbnails into a directory and the CF code randomly displays one.

Is there anyway I can code some coldfusion code to use the Gallery 2 functions to randomly display a photo? I don't want to use frames. I was thinking of coding some HTML like src=www.www.com/Gallery2/random.php and it would do the trick?

thanks in advance.
Dennis