You will get a link to any attached assets from the product information fetched. You may add GET parameters to manipulate what the asset should be converted to.
Please note: The conversion might take some seconds the first time, but it will be cached, and any further requests will be fast.
The following transformation parameters can be used to retrieve manipulated image content.
Auto Gamma
Query Params: ag
Example: ag
Auto Level
Query Params: al
Example: al
Crop
Query Params: cw:width, ch:height, cx:x offset, cy=y offset
Example: cw=100&ch100&cx=10&cy=10
Remarks: At least cw is required to activate cropping.
File Format
Query Params: f
Example: f=jpg
Remarks: The format of the picture transformation result. Possible values jpg, png, gif, webp. Default format jpg.
Imagga Smart Crop
Query Params: scw: width, sch: height
Example: scw=100&sch=100
Remarks: Both scw and sch are required to activate smart cropping. Read more about smart cropping.
Resize
Query Params: w: width, h: height
Example: w=100
Remarks: At least one of two must be specified to activate any resizing. This will upscale the image if the original is smaller than the defined resize dimension, and it will not change the image ratio.