Element IMGURL_ALTERNATIVE#
Basic information#
The IMGURL_ALTERNATIVE element contains the URL of an additional product image that is not the main image. It may show the product from a different angle or display the full packaging.
It can appear multiple times per product in the feed. Heureka does not specify how many alternative images a product may have.
Heureka does not specify the dimensions, minimum resolution, or file size for alternative images. We can assume that the same requirements apply as for the main product image in IMGURL.
Frequently asked questions#
-
How do I split image URLs separated by a delimiter into individual values?
- If you have image URLs in a single element separated by, for example, a semicolon, pipe
|, space, or comma, you can split these values into separate variables using regular expressions.
- If you have image URLs in a single element separated by, for example, a semicolon, pipe
-
How do I add a new alternative image to products in the feed?
- For example, use the Add a value to a multi-value element rule or the Rewrite rule specifying a specific position. Learn more about multi-value elements.
Note: if you need to work with the last alternative image, you can reference it using the
@@MAX_POSITIONfunction. -
How do I swap two images, for example the main image and the first alternative image?
- We have a pre-built automation for this. Find it in the left menu of your Heureka project: Automations → search for Swap values between two elements.
-
How do I force Heureka to update its cached images?
- Using the Rewrite rule, append a
#character and some text, e.g.#new, to the image URLs. For Heureka, the image URLs will appear new, so it will re-fetch the images.
- Using the Rewrite rule, append a
-
Can I bulk-resize images in the feed?
- This is possible using the Feed Image Editor extension. Specific guides and information on how to use the extension are available at feed-image-editor.cz.
-
How do I remove a watermark from images?
- This is possible using the Feed Image Editor extension. Specific guides and information on how to use the extension are available at feed-image-editor.cz.
What Mergado Audit checks for the IMGURL_ALTERNATIVE element#
- Whether the IMGURL_ALTERNATIVE element is missing or empty for any products.
- Whether the value in IMGURL_ALTERNATIVE is duplicated — i.e. whether alternative image URLs are unique for every product in the feed.
- The audit also checks the correct format of the IMGURL_ALTERNATIVE address.
If you need help, contact our technical support.