Test if the referenced image file exists