Add position to variant images to allow sorting