How can I check if an image are being displayed or not. The user type a filename and if the file does not exist I want to dsplay a "sorry...." instead of an ugly no image icon (red cross). /new at this!
You could check if the image is_file() ( www.php.net/is_file ) and display a different ' sorry no image ' image if it returns FALSE