Loading Image Based Data
Assortment Planning Cloud Service is pre-configured to provide the item level image view in the templates. The measure set up as the Style-Color level image attribute is addvskupimgt with the base intersection of Style/Color and product attributes images to addvpatvimgt.
The Content Server exposes the client's image files placed into a particular directory as HTTP URLs. The images available in http://{content server url}/imgfetch/image-library/{sub directory if defined}/<image-file-name> must be defined in the load file in xml format.
Sample file for addvskupimgt.csv.ovr:
1234582,"<image id=""main"" label=""Front View""><url size=""thumb"">http://<server>:<port>/<image_path>/sku_10000019_main_thumb.jpg</url></image>" 1234600,"<image id=""main"" label=""Front View""><url size=""thumb"">http://<server>:<port>/<image_path>/sku_10000053_main_thumb.jpg</url></image>"
The first field represents the Style Color ID followed by the required image location. At a minimum, a "thumb" size image file must be loaded to show in the pivot table. However, both the "thumb" and "full" size images can be loaded. For example:
10000010,"<image id=""main"" label=""Front View""><url size=""thumb"">http:// <server>:<port>/<image_path>/sku_10000010_main_thumb.jpg</url><url size=""full"">http://<server>:<port>/<image_path>/sku_10000010_main_full.jpg</url></image>
The customer can also use the same format to upload image URLs for the Item Image, Style Image, and Sub-Class Images. The same image URLs can also be directly managed in Planning Admin -> Define Product Image. They can also set the Item Image Name and Item Image Address and enable the Aggregate Boolean to create the Image URLs for different levels from the same base Item Image.
In order to view the images, the Valid Image URL Hosts property should include the Image URL server name. That needs to be set in RPASCE UI Settings -> System Configuration -> Config Properties -> Images.