Feeds and marketplaces

How to turn relative image links into absolute URLs

2026-06-20
Task

The source sends image paths such as /upload/1001.jpg, while the receiver accepts only absolute URLs.

Short Answer

In image_url, add a rule: if the current value does not contain http, add the site domain at the beginning.

How to Do It in Eofferix

  1. Open the image_url column settings in the table editor.
    Opening image_url settings
    The red frame shows where to open the required column settings.
  2. In Transformations, add: condition Does not contain substring http, action Add to beginning, value https://shop.example.com.
    Rule that adds a domain to a relative image path
    If the value does not contain http, Eofferix adds the domain before it.
  3. For XML, open the image URL node and apply the same value rule.
  4. Save the settings.

Before / After

Before

source data
skuimage_path
SKU-1001/upload/1001.jpg
SKU-1002https://cdn.example.com/1002.jpg

After

result
skuimage_url
SKU-1001https://shop.example.com/upload/1001.jpg
SKU-1002https://cdn.example.com/1002.jpg

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up