<?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>Is there a way to do a live preview of an image file?</title><link>https://community.appian.com/discussions/f/user-interface/11174/is-there-a-way-to-do-a-live-preview-of-an-image-file</link><description>Hello everyone, 
 
 I was wondering if there is a way to display an image that a user uploads before the form has been submitted? 
 
 Thanks, 
 -Seth</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there a way to do a live preview of an image file?</title><link>https://community.appian.com/thread/98164?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 14:24:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:35ae24d8-07b2-4637-9e3d-af0b33c6386b</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What stefan said is correct.&amp;nbsp; There is no workaround &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;without a user click&lt;/em&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;However, there &lt;strong&gt;&lt;em&gt;is&lt;/em&gt;&lt;/strong&gt; a reasonable workaround if you&amp;#39;re willing to make the user &lt;em&gt;click&lt;/em&gt; something.&amp;nbsp; When a new upload exists, add a submit button or submit link next to the upload field, saying &amp;quot;click to preview&amp;quot;, or something along those lines - this will submit the form, allow the file to be promoted to the Appian FS, and transparently loop back to the same form (to the user&amp;#39;s experience, it will not seem like they &amp;quot;left&amp;quot; the form, if things are configured correctly).&amp;nbsp; After the task is loaded again, the file will be eligible to be shown in the normal image field as desired.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to do a live preview of an image file?</title><link>https://community.appian.com/thread/98161?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 11:54:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0424e25b-f5dd-401d-87c6-92b71ca1b936</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Documents in Appian are only available AFTER a submit action. There is no supported way around.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to do a live preview of an image file?</title><link>https://community.appian.com/thread/98160?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 11:50:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dbf956cd-6ee6-4243-8354-a32bd9472c43</guid><dc:creator>kavitar5580</dc:creator><description>&lt;p&gt;I tried, but still not working, would you like to more explain using any function ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to do a live preview of an image file?</title><link>https://community.appian.com/thread/49052?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 12:27:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d362161e-7182-458f-8806-b6f4943228b9</guid><dc:creator>santoshd378</dc:creator><description>&lt;p&gt;This is not possible at the moment because the file need to be stored in the knowledge center to render in the sail form, So after clicking on the submit only the image will be saved in the knowledge center.&lt;br /&gt; Still if you want to implement it, Keep a button beside the file upload field. And that button needs to be work as an submit button but in the process model give a condition such that if the value is from the pseudo button loop back to the same form and show the details.&lt;br /&gt; &lt;br /&gt; This might help you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to do a live preview of an image file?</title><link>https://community.appian.com/thread/49045?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 11:00:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca927eeb-cf93-4063-8b36-1be214ce0301</guid><dc:creator>vijayd</dc:creator><description>I dont think that is possible to display the live preview of an uploaded image as of now but on click of the uploaded image you can see the live preview.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to do a live preview of an image file?</title><link>https://community.appian.com/thread/49036?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 06:16:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1edd008d-79d1-4a1d-9658-d2c15a9d6f65</guid><dc:creator>Harsha Sharma</dc:creator><description>Yes you can achieve this. Say ri!img is the variable you are saving the image uploaded by user into. Use a!imageField() to display the same image in the UI...make the size as THUMBNAIL or SMALL.As soon as the user uploads an image this a!imageField should display the image icon and on click of that one can preview whatever image is uploaded. If you don&amp;#39;t want to click just keep the size as STANDARD and image preview can be done.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>