Target image not replacing all image attributes

AEM_Coder 02-05-2019

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>

Accepted Solutions (0)

Answers (0)