see if image is present or not