<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">

    <t t-name="web.AttachmentImageField">
        <div class="o_attachment_image">
            <img t-if="props.record.data[props.name]"
                t-attf-src="/web/image/{{ props.record.data[props.name].id }}/300x300?unique=1"
                t-att-title="!!env.debug and props.record.data[props.name].display_name"
                alt="Image"/>
        </div>
    </t>

</templates>
