Showing random image from G2 on non-PHP site?

trippy1976

Joined: 2005-08-22
Posts: 1
Posted: Mon, 2005-08-22 21:58

Been searching and googling for this hoping to find the answer without asking, but is there a way on a non-PHP site to link to the Gallery application on another site to show a random image?

Specifically, I'm thinking of a blog-type situation. So you could include an img src to a standard "image file" that delivers the random graphic?

I've written dynamic images with text from databases before and you can use PHP to "paste" several graphics together and then put text on top. So I'm looking I guess for some kind of code or extension that may be available to do something like:

<img src="http://mysite.com/gallery/random_image.php">

And it takes care of choosing a random thumbnail and just "creates" an image from it to return as the img src.

Thanks for any help/references to other threads or information.