How to set an attached image in the custom Print Format

What is the proper way to prepare a custom Print Format to display an image attached to an Attach Image fieldtype?
Things such as image size, position of the image, what image format can be attached, etc.

Simply use <img> in you Print format to show an image same as in HTML. You can add CSS for size and position.

e.g. <img src="files/image.png"> or <img src={{ doc.image_field }}>

you can attach .png .jpg formated images.

1 Like