title: Displaying images in Popup of ArcGIS Flexviewer
body: <p>I have created a sample flex application using the ArcGIS Flex viewer and trying to access some images from web(wiki).</p>
  
  <p>I have successfully configured the pop-up XML files such that it displays the images. However when I click on the feature, it is not showing the image.</p>
  
  <p>I was thinking if this could be because of the fact that these images are larger to include within the pop-up window.</p>
  
  <p>I have tried the following workarounds of using different tags in the Pop-up config xml.</p>
  
  <h1>workaround:1</h1>
  
  <pre><code>&lt;description&gt;&lt;![CDATA[&lt;a href="{LINK_NEW}"&gt;&lt;img src="{LINK_NEW}"/&gt;{LINK_NEW}&lt;/a&gt;.&lt;br&gt;a. ]]&gt;
  &lt;/description&gt;
  </code></pre>
  
  <h1>workaround:2</h1>
  
  <pre><code>&lt;medias&gt;
    &lt;media chartfields="" type="image" imagesource="{LINK_NEW}" imagelink="{LINK_NEW}" /&gt; 
    &lt;/medias&gt;
  </code></pre>
  
  <p>The second seems to get me near to the resolution but not able to see the images in the pop-up window.</p>
  
  <p>The question here is, I wanted to know a way to resize the original image with the help of xml tags and also if possible I wanted to increase the size of the pop-up window as well as to reduce the size of image that fits the pop-up window.</p>
  
  <p>My configuration file is like the below:</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;
  &lt;configuration&gt;
      &lt;title&gt;{NAME}&lt;/title&gt;        
      &lt;medias&gt;
      &lt;media chartfields="" type="image" imagesource="{LINK_NEW}" imagelink="{LINK_NEW}" /&gt;
      &lt;/medias&gt;
      &lt;fields&gt;
              &lt;field name="NAME" alias="NAME" visible="true"/&gt;
                  &lt;field name="LOCID" alias="LOCID" visible="true"/&gt;
                  &lt;field name="STATE" alias="STATE" visible="true"/&gt;
                  &lt;field name="ACAIS" alias="ACAIS" visible="true"/&gt;
          &lt;field name="LINK_NEW" alias="LINK_NEW" visible="false"/&gt;
      &lt;/fields&gt;
      &lt;showattachments&gt;true&lt;/showattachments&gt;  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>