<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: insert an image into a pdf file in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326875#M13876</link>
    <description>&lt;P&gt;In your template, you can try to encode the image in base64 like this:&lt;/P&gt;
&lt;P&gt;For instance:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;img
  src="data:image/*;base64,iVBORw0KGgoAAAAN....AASUVORK5CYII="
  alt="image" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't know if this works but you can give a try&lt;/P&gt;</description>
    <pubDate>Thu, 27 Sep 2012 18:06:30 GMT</pubDate>
    <dc:creator>Sun_Seng_David_</dc:creator>
    <dc:date>2012-09-27T18:06:30Z</dc:date>
    <item>
      <title>insert an image into a pdf file</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326874#M13875</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;I want to generate a pdf file that contains the document properties and notament image.&lt;/P&gt;
&lt;P&gt;I created a new documentary that inherits the type rating.&lt;/P&gt;
&lt;P&gt;I added a new property type blog that will contain an image.&lt;/P&gt;
&lt;P&gt;I created the following automation chains :&lt;/P&gt;
&lt;HR /&gt;
&lt;PRE&gt;&lt;CODE&gt;Fetch &amp;gt; Context Document(s)
Conversion &amp;gt; Render Document
	template : myTemplate
	filename : output.html
	mimetype : text/html
	type : flt
conversion &amp;gt; convert to pdf
user interface &amp;gt; download file
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;
&lt;P&gt;myTemplate is :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Current user: ${Session.principal.name}

&amp;lt;H1&amp;gt;${This.dublincore.title}&amp;lt;/H1&amp;gt;
&amp;lt;p&amp;gt;${This.dublincore.description}&amp;lt;/p&amp;gt;
&amp;lt;/br&amp;gt;
&amp;lt;p&amp;gt;${This.note.note}&amp;lt;/p&amp;gt;
&amp;lt;/br&amp;gt;
&amp;lt;IMG SRC="This.myDocument.myImage"/&amp;gt;
&amp;lt;/br&amp;gt;
${This.myDocument.myImage}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How to reference the image in the IMG tag ?&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2012 16:54:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326874#M13875</guid>
      <dc:creator>oguevel_guevel</dc:creator>
      <dc:date>2012-03-30T16:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: insert an image into a pdf file</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326875#M13876</link>
      <description>&lt;P&gt;In your template, you can try to encode the image in base64 like this:&lt;/P&gt;
&lt;P&gt;For instance:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;img
  src="data:image/*;base64,iVBORw0KGgoAAAAN....AASUVORK5CYII="
  alt="image" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't know if this works but you can give a try&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 18:06:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326875#M13876</guid>
      <dc:creator>Sun_Seng_David_</dc:creator>
      <dc:date>2012-09-27T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: insert an image into a pdf file</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326876#M13877</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 18:38:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326876#M13877</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-05-23T18:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: insert an image into a pdf file</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326877#M13878</link>
      <description>&lt;P&gt;More tests...&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2013 14:01:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/insert-an-image-into-a-pdf-file/m-p/326877#M13878</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-05-31T14:01:00Z</dc:date>
    </item>
  </channel>
</rss>

