Hi;
I have a page that displays called-for images at a certain size. ie
$TCHR=$_POST[tchr];
echo "<img src=\"schedules/".$TCHR.".JPG\" width=800 alt=\"Schedule image.\" />";
This works fine if the image has been submitted and stored. But if NOT, it just displays a great big block with the missing image icon up in the corner.
Is there a simple way to test FIRST if the image: \".$TCHR.".JPG\" actually exists, and then, if not, display either nothing or a line of text saying that the image is not yet available?
Thanks?