This tcl function, derived from banner ideas, pulls a random
thumbnail from your photodb database and formats it for display.
http://www.felix.org/share/rf-randompix.txt
To implement:
- Place the contents of the link above into a file in your
myserver/tcl directory, renamed with a .tcl extension.
- Restart aolserver to source the function.
- Call the function as [random_pix].
You can check out its functionality at my site,
www.felix.org -- go to the top level,
then hit your browser's refresh button -- a new picture will come up
on the home page each time.
Enjoy!