I wrote this code, it gets an image from a link that varies according to where you are:
You are already inside the php tag. So there is no need for and ?>.
and ?>.
?>
Try:
echo "";