Check if image exists