G'day!
I'm building a .NET application to retrieve products and images from a ERP system, build an XML document and call the WSI to import this information. The XML is a simple Product Action="Add" command adding a ProductVariant per Product, and doing some entity mapping.
I also wish to add a single image (which I have converted to the 64-bit encoded string) three times, once each for Icon, Medium and Large.
My problem is there is a bit of a difference between pages in the WSI manual; namely the Product template and the Image Resize pages.
The Image Resize page says I can do something like this:
<Images>
<Icon Extension="jpeg" UseAppConfigs="true">base 64 encoded image data here</Large>
<Medium Extension="jpeg" UseAppConfigs="true">base 64 encoded image data here</Large>
<Large Extension="jpeg" UseAppConfigs="true">base 64 encoded image data here</Large>
</Images>
However the Product xml template only mentions the Extension and Delete attributes for these Product->Images->Icon/Medium/Large tags.
I've been playing around with it and all I ever get is three images of the same size for my products.
Can someone please tell me what I need to do to resize my images, either from the AppConfig or from my own Params (with Resize="true") within a Product import xml?