<?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 Image in the pop-up window in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691689#M21157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to display an image in the pop-up window (the URL is stored in the URL field as a text). I&amp;nbsp; have tried the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=d533bad75bac41e6904b4ddbc6b22cd2" rel="nofollow" target="_blank"&gt;FrInfoWindowIframe&lt;/A&gt;&lt;SPAN&gt; widget, but here I get App error 2036 (as in the preview-app on that page).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried some other ways, but I always get the 2036 error (tried &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/54200-Popup-of-JPG-url-not-working?highlight=image+popup" rel="nofollow" target="_blank"&gt;this&lt;/A&gt;&lt;SPAN&gt; and checked the&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#//01m30000002q000000" rel="nofollow" target="_blank"&gt; resource center&lt;/A&gt;&lt;SPAN&gt;, where the img example is missing??).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please would you help me how to prepare the source code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My rest services are the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basemap layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;http://mapserver.ujep.cz/ArcGIS/rest/services/SZ_Cechy_Zlutice/CO_Zlutice/MapServer&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Operational layer (the one, where the URL to img is present in the URL field):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;http://mapserver.ujep.cz/ArcGIS/rest/services/SZ_Cechy_Zlutice/bod/MapServer&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can use eather the 2.4 or 2.5 viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2012 19:43:22 GMT</pubDate>
    <dc:creator>JanPacina</dc:creator>
    <dc:date>2012-05-11T19:43:22Z</dc:date>
    <item>
      <title>Image in the pop-up window</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691689#M21157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to display an image in the pop-up window (the URL is stored in the URL field as a text). I&amp;nbsp; have tried the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=d533bad75bac41e6904b4ddbc6b22cd2" rel="nofollow" target="_blank"&gt;FrInfoWindowIframe&lt;/A&gt;&lt;SPAN&gt; widget, but here I get App error 2036 (as in the preview-app on that page).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried some other ways, but I always get the 2036 error (tried &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/54200-Popup-of-JPG-url-not-working?highlight=image+popup" rel="nofollow" target="_blank"&gt;this&lt;/A&gt;&lt;SPAN&gt; and checked the&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#//01m30000002q000000" rel="nofollow" target="_blank"&gt; resource center&lt;/A&gt;&lt;SPAN&gt;, where the img example is missing??).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please would you help me how to prepare the source code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My rest services are the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basemap layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;http://mapserver.ujep.cz/ArcGIS/rest/services/SZ_Cechy_Zlutice/CO_Zlutice/MapServer&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Operational layer (the one, where the URL to img is present in the URL field):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;http://mapserver.ujep.cz/ArcGIS/rest/services/SZ_Cechy_Zlutice/bod/MapServer&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can use eather the 2.4 or 2.5 viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 19:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691689#M21157</guid>
      <dc:creator>JanPacina</dc:creator>
      <dc:date>2012-05-11T19:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Image in the pop-up window</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691690#M21158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Sure here is what you need in the main config.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer label="Obce" type="dynamic" visible="true" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://mapserver.ujep.cz/ArcGIS/rest/services/SZ_Cechy_Zlutice/bod/MapServer"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" poupconfig="popups/PopUp_Obce.xml" /&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layer&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And here is the contents of the PopUp_Obce.xml file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" ?&amp;gt; &amp;lt;configuration&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;{OBJECTID}&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fields&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="OBJECTID" /&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="URL" visible="false"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fields&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;medias&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;media type="image" caption="Photo" imagesource="{URL}" imagelink="{URL}"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/medias&amp;gt;&amp;nbsp; &amp;lt;/configuration&amp;gt;&amp;nbsp; &amp;lt;!-- &amp;nbsp;&amp;nbsp;&amp;nbsp; Pop-up configuration file for: &amp;nbsp;&amp;nbsp;&amp;nbsp; http://mapserver.ujep.cz/ArcGIS/rest/services/SZ_Cechy_Zlutice/bod/MapServer --&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to be zoom pretty far out for the popup to work though (that was strange).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 20:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691690#M21158</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-11T20:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Image in the pop-up window</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691691#M21159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for a promt answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At first it did not work, but the I found a type-mismatch in the code provided - instead of popupconfig there is only poupconfig. So far, I have no problems with the zoom out - it works even at the biggest scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your time!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2012 05:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691691#M21159</guid>
      <dc:creator>JanPacina</dc:creator>
      <dc:date>2012-05-12T05:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Image in the pop-up window</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691692#M21160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert - this simple code for popup images is EXACTLY what i've been trying to find for the past 4 DAYS!&amp;nbsp; HALLELUJAH!&amp;nbsp;&amp;nbsp; I've tried every arrangement i could think of from the Flexviewer 2.5 Resource page - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Pop_up_configuration_files/01m30000002q000000/"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Pop_up_configuration_files/01m30000002q000000/&lt;/A&gt;&lt;SPAN&gt; Thank YOUUU!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 20:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/image-in-the-pop-up-window/m-p/691692#M21160</guid>
      <dc:creator>ValerieHanson</dc:creator>
      <dc:date>2012-05-22T20:45:54Z</dc:date>
    </item>
  </channel>
</rss>

