Swap image not working correctly in Target VEC

Last update: 2022-12-15

Description

Environment

  • Adobe Target

Issue/Symptoms

In Adobe Target VEC, after swapping an image on a page through Adobe Target VEC Replace Content Image, the picture doesn’t load properly, or sometimes there may be an error icon on the Modifications window on the right side of the VEC edit window.

Resolution

Try to use the edit HTML action on the parent Container by clicking ‘Expand Selection’ menu and replacing the srcset attribute value in HTML code.

Cause

The swap image action in VEC is based on src attribute of img tag and does not work on srcset attribute.

On this page