{% raw %} {% with element.json.data.CarouselTeaserImage.img as "carousel_image" %} {% if carousel_image %} {{ carousel_image.alt }} {% endif %} {% endwith %} {% endraw %}