{% set image = record.attachments.get(this["image"]) %} {% if image %} {{ this[ {% endif %}