How To add item image in custom print format?

Hi, i am facing a new problem when I try to add an item image it won’t display. so anyone to know how to do this please let me know.

Check that the path to the image is correct

Try something like

{% if doc.image_field_name %}
    <img src="{{ doc.image_field_name }}" alt="Image">
{% endif %}

2 Likes

nice, thankyou very much. it is helpful for me too. I appreciate this codes.