don't try to display the image if not exsit
Merge pull request #1081 from geoadmin/dev_check_image_exist

don't try to display the image if not exsit