Add Item image to custom HTML print format

Hello,

I would like to add the image from the Item table to the custom HTML print format of Quotation. What exactly would be the lines for that? I am trying out these lines but these don’t seem to print the image. Please help.

{%- for item in doc.items -%} {{ item.item_group }}
                     <img src="{{ item.image }}"
                     class="img-responsive" style="max-height: 200px">
                    <td> {{ item.image }} </td>
		<td class="text-right">{{ item.qty }} </td>
                    <td class="text-right">@ {{ item.get_formatted("rate") }}</td>
		<td class="text-right">{{ item.get_formatted("amount") }}</td>
	</tr>
	{%- endfor -%}
</tbody>

Use <img> tag

How could i change this code so it would fetch customer attached logo or image?

This is How i did to get images from customers but i guess it works with other doctypes too

<img src="{{ frappe.db.get_value(“Customer”, doc.customer, “image”) }}"
height=“35%” width=“85%”>

So im having a problem with this code.
It works fine but when its send via email (converted in pdf) or converted in pdf in the page, its not displaying the image… What do i do?