2
it has to be someting like this but unfortunatly i have no knowledge in programming php.
this code reads the current url
<?php function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?> <?php echo curPageURL(); ?>
and then the script has to read the outcome and if it reads page X he has to write the according image.....I think.
Well I keep looking, it would be nice having this function in my site, that way I can show and inform my visitors more relative pictures/information .