cancel
Showing results for 
Search instead for 
Did you mean: 

Document template : how to insert an image ?

milonette_
Star Collaborator
Star Collaborator

Hello,

I want to insert an image in a document template with freemarker language

like this:

  • Document is in HTML
  • then it's converted into PDF

😞 This image is not in the final document, I just got an empty square.

Is it possible to use "resources>images" in document template and what is the correct path to use ?

How insert images in a document template ?

thanks

2 REPLIES 2

milonette_
Star Collaborator
Star Collaborator

Hello Me,

In theory you could create your path with ${baseURL}img/logoAmoi.jpg

but baseURL is empty.

So the temporary solution should be :

<p><img src="http://mysecreturl/nuxeo/img/logoAmoi.jpg" WIDTH="50%"/></p>

It works with documents template and emails template too of course.

look at http

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.