-
That ain`t Image generator. That`s just script, that shows random image of premade ones.
Image generator is something that actually generates an image with GD library, not just gives a random filename in <IMG> tag.
So don`t worry about dynamic url - you can`t find it here.
-
i agree. this isn't really a generator or anything, its just a random image show-er. this could help early coders though.
-
wouldn't it be better to use something like this:
Code:
<?
$random_image = array("http://www.site.com/image.jpg","http://www.site.com/image.gif","http://www.site.com/image.bmp","http://www.site.com/image.png","http://www.site.com/image.tga");
$images = count($random_image);
$random = (rand()%$images);
print"<img src=\"$random_image[$random]\" border=\"0\">";
?>
then you can add images to the array without having to editing the rest of the script for things like image name changes etc