<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Need to add image to the PDF using XSL FO</title><link>https://community.appian.com/discussions/f/plug-ins/12937/need-to-add-image-to-the-pdf-using-xsl-fo</link><description>I have to generate PDF which consists of images in one dynamic grid, I have tried it with DOCX template but in that case PDF is not generated as the plugin in not allowing looping for the images. 
 Can you please provide syntax for adding appian image</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need to add image to the PDF using XSL FO</title><link>https://community.appian.com/thread/58358?ContentTypeID=1</link><pubDate>Thu, 26 Jul 2018 04:10:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9217d2f9-a41b-4f42-a663-d9197f4ce1a4</guid><dc:creator>shwetad7106</dc:creator><description>Hi, &lt;br /&gt;
Actually image will be stored in knowledge center, user will be uploading that image in the process, and at the end I need to generate PDF. &lt;br /&gt;
In that PDF need to have grid which will show user and his respective uploaded image.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to add image to the PDF using XSL FO</title><link>https://community.appian.com/thread/58350?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 15:51:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de7dc6a6-3778-46f9-a940-d1e6cfd39251</guid><dc:creator>Rama Thummala</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/shwetad"&gt;shwetad&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.Convert the image to base64 format using any online tool.&lt;/p&gt;
&lt;p&gt;2.Add the converted base64 string in .xsl file by using below tag, (replace &amp;lt;base64 string&amp;gt; with converted base64 string)&lt;/p&gt;
&lt;pre class="lang-xml prettyprint prettyprinted"&gt;&lt;code&gt;&lt;span class="pln"&gt;  &amp;lt;fo:external-graphic src=&amp;quot;url(&amp;#39;data:image/jpeg;base64,&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;base64 string&amp;gt;&lt;/span&gt;&lt;span class="pln"&gt;&amp;#39;)&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to add image to the PDF using XSL FO</title><link>https://community.appian.com/thread/58143?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 14:02:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79b6f8bc-1358-4ca3-9d05-3a7f386a3dc7</guid><dc:creator>josep</dc:creator><description>&lt;p&gt;Hello shwetad,&lt;/p&gt;
&lt;p&gt;As of now there are two options available.&lt;/p&gt;
&lt;p&gt;1) To expose your images in a public repository/ private repository visible to Appian. And access it with the url.&lt;/p&gt;
&lt;p&gt;2) to pass them to the smart service as parameters encoded as base64. &lt;/p&gt;
&lt;p&gt;For both options you have to add some tags to the XSL-FO. Maybe in the future the plugin can support passing images stored in the knowledge center, but this is not currently supported. &lt;/p&gt;
&lt;p&gt;Jose&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>