<?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 Re: Attachments preview in Popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachments-preview-in-popup/m-p/1137626#M76109</link>
    <description>&lt;P&gt;I know this is pretty old at this point, but I had run into the same issue using 4.21 and wanted to share what I found for those who happen to run across this.&lt;/P&gt;&lt;P&gt;In my case, I needed to update the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#supportsResizeAttachments" target="_blank" rel="noopener"&gt;supportsResizeAttachments&lt;/A&gt; property to true once the layer was loaded.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;featureLayer.load().then(() =&amp;gt; {
    featureLayer.capabilities.operations.supportsResizeAttachments = true;
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jan 2022 21:22:49 GMT</pubDate>
    <dc:creator>dcarson1661</dc:creator>
    <dc:date>2022-01-26T21:22:49Z</dc:date>
    <item>
      <title>Attachments preview in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachments-preview-in-popup/m-p/159752#M14890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have attachments in my popup, but it shows only default image thumbnail, but i want to show attached image thumbnail.&lt;/P&gt;&lt;P&gt;i checked it on &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments.html"&gt;ESRI&lt;/A&gt;&amp;nbsp;but could not find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/491198_Preview.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 14:00:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachments-preview-in-popup/m-p/159752#M14890</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2020-05-06T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments preview in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachments-preview-in-popup/m-p/1137626#M76109</link>
      <description>&lt;P&gt;I know this is pretty old at this point, but I had run into the same issue using 4.21 and wanted to share what I found for those who happen to run across this.&lt;/P&gt;&lt;P&gt;In my case, I needed to update the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#supportsResizeAttachments" target="_blank" rel="noopener"&gt;supportsResizeAttachments&lt;/A&gt; property to true once the layer was loaded.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;featureLayer.load().then(() =&amp;gt; {
    featureLayer.capabilities.operations.supportsResizeAttachments = true;
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 21:22:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachments-preview-in-popup/m-p/1137626#M76109</guid>
      <dc:creator>dcarson1661</dc:creator>
      <dc:date>2022-01-26T21:22:49Z</dc:date>
    </item>
  </channel>
</rss>

