Image URLs
The Komerza API returns image filenames rather than full URLs. All user-generated content is served from a single CDN:
To display an image, append the filename to this base URL.
Building Image URLs
Product Images
Products have an imageNames array containing filenames:
Variant Images
Variants also have their own imageNames array:
Store Logo and Banner
For store images, use the built-in helper functions instead:
These functions handle the URL construction automatically. See Store Information for details.
Image Helper Function
Create a reusable helper for your storefront:
Example: Product Gallery
Example: Product Card
Handling Missing Images
Always handle cases where images may not exist:
Image Types
Last modified on November 27, 2025