check if image is present