This article will describe how to name product images so the CP-Commerce integration will recognize them and sync them to the webstore. It will also go into detail on how to assign multiple images to the same product.
TABLE OF CONTENTS
We recommend the image dimensions 600 x 600, but as long as the image dimensions are the same across the board, you can use other dimensions as well.
The image's file size should bebetween 50KB and 200KB.
Images larger than 2MB will NOT be synced.
EXIF data is how digital cameras can store information about how the picture was taken. One important detail that is stored is theorientation the picture was taken in. The Windows 8 and 10 file explorers and some other programs will recognize it and make the image appear upright, but the actual image is still sideways or upside down. On the web, that orientation is not taken into account and so the image will need to appear upright without it.
Below are guides on how to fix the orientation of your images:
In the menu that opens, just click OK.
Then, you will want to review the images to make sure they are upright. While you fixed the images that had "Rotate ...", images that are set as "Normal" can still appear rotated. This is because not all cameras will set the orientation (Rotate ...).
Click View at the top of the File Explorer and select Large Icons.
For more information about EXIF data:Why Your Photos Don't Always Appear Correctly Rotated
The file name for the main product image should match the Counterpoint item number. This is the image customers will first see when they arrive on the product landing page.
For example, if you have a product with the item number12345, the main product image file name should be12345.jpg.
Special Characters
The following Special Characters in the Item # should be replaced with an underscore (_) in the image name.
For example, item number123/45 should have an image named123_45.jpg
Below you can see how the main image looks on the product page:
Sometimes, you may want to show more than one image for a product such as the back or side of a product:
If you would like to add an alternate image for a product, you will want to add ^[anything]to the end of the image file name. For example, if you wanted to add another image for item12345, the file name could be12345^1.jpg or12345^back.jpg.
To add more, you would just need to add something different after the carrot like2orside(12345^2.jpg or12345^side.jpg).
While you can use words after the carrot,we recommend using numbers for alternate images. This is because the system assigns images to grid dimensions using the same format.
Let's say you had product12345and it had a grid value ofback.Then the image12345^back.jpg would get assigned to the back option and it will only show when the customer chooses that option on the product page.
If you have products with grid dimensions, you can add product images for each color / style / etc. This will allow the customer to see the image for that selection when they choose that option on the product page.
For example, let's look at the following gridded item.
On the left, you'll see the item setup in Counterpoint with the grid dimensions.
On the right you'll see how that item will appear on the website. The grid dimension tag (i.e. COLOR) becomes the dropdown label and the grid values (e.g. Red, Blue) become the dropdown options.
If you would like the image to change to just the red balloon when Red is selected or to just the blue balloon when Blue is selected, you would need the images 20001^RED.jpg and 20001^BLUE.jpg.
Then, when the customer selects Red from the Color dropdown, the image would change to 20001^RED.jpg. When the customer selects Blue from the Color dropdown, the image would change to 20001^BLUE.jpg
The images for each color / style / etc. are named similar to how you would name an alternate image, except [anything]is replaced with the grid dimension.
For the following details, we will be using the following example.
Once you have your image names set, you can add them to the Counterpoint Item Images directory. You can follow these steps on how to add them there:
Locate your CounterPoint installation's ItemImage Directory - From here navigate toTop-Level → YOUR CP DB NAME → Configuration → ItemImages. (In the example below, we are using DEMOLIQ as the name of our CP DB).
Note: This is the default directory that our sync will grab images from. Your specific sync configuration may be changed to use a different directory than this.