Swap image not working correctly in Target VEC

Explore effective solution for image loading issues in Adobe Target VEC.

Description 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 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.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f