in my view.xml
<div class="o_kanban_image">
<t t-if="record.image.value">
<img t-att-src="kanban_image('op.student', 'image', record.id.value)"
alt="Student"/>
</t>
<t t-if="!record.image.value">
<img t-att-src='_s + "/base/static/img/avatar.png"' alt="Student"/>
</t>
</div>
how to convert above code for dislay image in portal website please help me to do this