adds product_id to image class