Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!

Target image not replacing all image attributes

Avatar

Level 2

Hi Team,

I have integrated target with scene7 and it's working fine. If i create new folder and upload images in the target image offers console then they are getting synced with the scene7 account and I can see Replace Content -> Image was enabled in the target activity. I can replace page images with the target enabled images but i have seen below issue.

We are using picture element for displaying images. If i replace an image in the target activity then it's replacing  src with the targeted image (<img src="" alt="" class="mw-100">) but target engine is not updating other source attribute srcset images. This will be an issue because in desktop view it will display image from target and in other view ports other images will be displayed. Did anyone face this issue ?  How can we make sure target will replace entire picture element images with the target images ?

        <picture>

            <source media="(max-width: 576px)" srcset="">

            <source media="(max-width: 768px)" srcset="">

            <source media="(max-width: 992px)" srcset="">

            <source media="(max-width: 1200px)" srcset="">

            <img src="" alt="" class="mw-100">

        </picture>

0 Replies