Swap image not working correctly in Target VEC

Description

Problem: 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 you may see 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.

Root 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