Image metadata and basic loop