<?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>DOCX From Template display Image conditionally</title><link>https://community.appian.com/discussions/f/plug-ins/37457/docx-from-template-display-image-conditionally</link><description>Using plugin DOCX From Template to generate word doc and using image bookmark to display image, how can we display image conditionally, it should display image if i pass any image data from PM.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: DOCX From Template display Image conditionally</title><link>https://community.appian.com/thread/140331?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 16:43:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d1ed338-6088-4342-a331-09444bbe140b</guid><dc:creator>Pankaj Kabdal</dc:creator><description>&lt;p&gt;also how can the image filed can resize to the original image size in the document&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOCX From Template display Image conditionally</title><link>https://community.appian.com/thread/140278?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 12:01:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87fd1128-3117-43de-8122-98ab2f2ba121</guid><dc:creator>Pankaj Kabdal</dc:creator><description>&lt;p&gt;Thanks S&lt;span&gt;omasundaram it worked.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOCX From Template display Image conditionally</title><link>https://community.appian.com/thread/140274?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 09:26:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ecb352e-7ea8-45cd-9b3f-56c43dcc91be</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;&lt;a href="/members/pankajk"&gt;Pankaj Kabdal&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try adding the below conditional logic&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/19/pastedimage1725441960053v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOCX From Template display Image conditionally</title><link>https://community.appian.com/thread/140258?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 18:54:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bcca5694-7864-4b1e-8443-8b432be344c5</guid><dc:creator>Justin Watts</dc:creator><description>&lt;p&gt;Can you see if IF statements work?&amp;nbsp;&lt;a href="https://freemarker.apache.org/docs/ref_directive_if.html"&gt;freemarker.apache.org/.../ref_directive_if.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this example below, you could add a flag to your data model (&amp;quot;&amp;lt;showImage&amp;gt;true&amp;lt;/showImage&amp;gt;&amp;quot;) and then try wrapping the image list? Unfortunately, I&amp;#39;ve only been able to verify this with simple text -&amp;nbsp;the plugin is giving me problems with the image input at the moment, so I haven&amp;#39;t been able to test with your exact scenario.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/19/pastedimage1725389489257v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>