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