only parse if image exists