Image from element#

The Image from element layer inserts another image, loaded directly from the feed, into the product image. Unlike a statically uploaded image, this layer’s content changes dynamically for each product according to the value of the chosen element, so a single template covers your entire assortment without exception.

How it works#

The extension reads a value (the image URL) from the chosen feed element and renders it in the given product’s image. Each product thus gets an image matching its own data, for example the logo of the brand it belongs to.

The prerequisite is that image URLs are stored for each product in some feed element, for example in the element for alternative images or in a custom element created in Mergado.

Setting it up in the extension#

  1. In the graphic template, add a new layer.

  2. In the right panel, select the Image from element layer type.

  3. Select the element from which the extension should read the image URL.

  4. Set the image’s placement in the template and its size.

  5. Optionally, add the Reflection or Shadow effects, or adjust the layer’s transparency.

Typical use cases#

Brand logos – a store sells products from various manufacturers and wants to display the relevant brand’s logo on each product. Simply have the logo URLs stored in a feed element, and a single template will take care of showing the correct logo for each product automatically.

Certificates and badges – some products have a quality certificate, an eco-label, or another graphic badge. Image from element adds it only where the relevant element contains a value.

Alternative images as an overlay – if the feed contains an element with the URL of a supplementary image (a detail shot, a texture, an infographic), it can be inserted as a layer over the main product image.

Tip – an identical image for all products#

If you want to insert the same image into all product images (for example, a uniform store logo), you don’t need the Image from element layer. In that case, use the Upload image option instead. You upload the file once, and the extension adds it to every image without needing the URL stored in the feed.

FAQ#

What happens if a product has no value in the given element?#

The layer isn’t rendered for such a product. Image from element only displays where the element contains a valid image URL. The template’s other layers remain unaffected.

Does the URL in the element need to be publicly accessible online?#

Yes. The extension downloads the image from the URL specified in the element, so the address must be publicly accessible. Local paths or images behind a login aren’t supported.

Can a single template have multiple Image from element layers at the same time?#

Yes. Each layer can reference a different element. For example, one layer can display the brand logo, another a certification badge. Each layer is configured independently.

Can the Image from element layer be used in a template for alternative images too?#

Yes, without restriction.

What image format is supported?#

In general, Feed Image Editor works with standard web formats (JPG, PNG, WebP). For images with transparency (logos, badges), we recommend the PNG format.

Is the Image from element layer available for static layers without a feed?#

The Image from element layer is dynamic and requires a feed element as the URL source. For a static image identical across all products, use the Upload image option instead.