{% set img = record.attachments.images.get(this.url) %} {{ this.caption }}