Hi
I am trying to select each image from a carousel. Unfortunately it is not working (at least I don't know how to) as the Image srcset with the different resolutions of the image is preventing from working properly. The code:
<img class="c-teaser__image" srcset="https://img.campercontact.com/media/photos/4222124650709085.jpg?imgeng=/w_293 293w, https://img.campercontact.com/media/photos/4222124650709085.jpg?imgeng=/w_585 585w, https://img.campercontact.com/media/photos/4222124650709085.jpg?imgeng=/w_517 517w, https://img.campercontact.com/media/photos/4222124650709085.jpg?imgeng=/w_638 638w, https://img.campercontact.com/media/photos/4222124650709085.jpg?imgeng=/w_710 710w" sizes="(max-width: 767px) 293px, (min-width: 768px) 585px, (min-width: 1024px) 517px, (min-width: 1280px) 638px, (min-width: 1440px) 710px" src="https://img.campercontact.com/media/photos/4222124650709085.jpg" alt="">
(url is https://www.campercontact.com/de/deutschland/bayern/hammelburg/15768/forellenhof-reuss for example).
Maybe someone can help. I was trying to take the DIVs "c-teaser__image-fallback" and "c-teaser__image-fallback" but doing obviously a mistake... Thanks!
Cheers
/P