Close
logo

Image Transformation

Git RepositoryEdit on Github
Last update: 2 years ago by luigi mangaReading time: 2 min

When configuring an inventory feed, Onport makes it possible to set up an image transformation pipeline.

This can be carried out via the following path Inventory - Inventory Feeds - Feed Name - Publishing.

The path can be pointed to an image transformation platform such as Cloudinary, according to the respective documentation

The {encoded} variable will be replaced with the inventory feed variant's image.

For instance, the following URL https://res.cloudinary.com/cloud_account_name/image/fetch/c_scale,w_100/{encoded} will centrally scale the image with a 100px width.

Alternatively, the URL could point to a script or cloud function developed by the marketplace

https://www.domain.com/scripts/watermark_images/{encoded}

๐Ÿ” Recipes โ€” Previous
Getting Company Id by Token
Next โ€” ๐Ÿ” Recipes
Querying by External IDs