<cfoutput><img src="#randrange(1,100)#.jpg"></cfoutput>
HTH,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
Join the DevCon community at www.coolfusion.com/devcon
----- Original Message -----
From: "Carlo van Wyk" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 1:12 PM
Subject: Random images from directory
> I need to display random images from a directory. (Almost like a Ad
> rotator.) There will probably be about 100 .jpeg files in the directory ata
> a time, and they will be in the format 1.jpg to 100.jpg
>
> How can one display the images randomly?
>
> Regards
> Carlo
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists