ProductImage loader

It loads given rows to the spy_product_image, spy_product_image_set, and spy_product_image_set_to_product_image tables. Any image set to image relation that was not touched (inserted or updated) by the loader is deleted from the spy_product_image_set_to_product_image table. The ProductImage.product_abstract_image.publish event is triggered.

Usage:

<product-image
    productIdField="productConcreteId"
    imagesField="images"
    imageSetName="default"
/>

Attributes:

  • productIdField - name of the field containing the product id related to the image

  • imagesField - name of the field containing the image urls

  • imageSetName - name of the field containing the image set name