<?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: Attachment Thumbnails missing in Popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1137701#M76114</link>
    <description>&lt;P&gt;&lt;SPAN&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;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In my case, I needed to update the&amp;nbsp;&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;&amp;nbsp;property to true once the layer was loaded. This property is actually not read only. I had originally&amp;nbsp;thought the same thing as the documentation suggests that it is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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 23:02:51 GMT</pubDate>
    <dc:creator>dcarson1661</dc:creator>
    <dc:date>2022-01-26T23:02:51Z</dc:date>
    <item>
      <title>Attachment Thumbnails missing in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1113918#M75159</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When using a Popup-Template with the attachment type like so&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;    "type": "attachments",&lt;BR /&gt;    "displayType":"preview"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am missing the thumnail of the image. I looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="preview.PNG" style="width: 411px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26766i844FDE59C593C68E/image-size/large?v=v2&amp;amp;px=999" role="button" title="preview.PNG" alt="preview.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;There are also no Thumbnails shown in "list" mode but I am not sure if thats always the case:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="list.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26767iB44A1E05EB8B132C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="list.PNG" alt="list.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was searching around a bit and found a property in the API documentation called "supportsResizeAttachments" &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities" target="_self"&gt;(Link&lt;/A&gt;). This property is "false" for our feature layer. But it is also read-only.&lt;/P&gt;&lt;P&gt;The features are coming from an ArcGIS Server FeatureServer. I tried finding anything in the ArcGIS Server Manager and the ArcGIS Server Admin but couldnt find the property or anything else that might be related.&lt;/P&gt;&lt;P&gt;Has anyone ever encountered that problem and knows a solution?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 06:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1113918#M75159</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-11-04T06:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Thumbnails missing in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1137701#M76114</link>
      <description>&lt;P&gt;&lt;SPAN&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;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In my case, I needed to update the&amp;nbsp;&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;&amp;nbsp;property to true once the layer was loaded. This property is actually not read only. I had originally&amp;nbsp;thought the same thing as the documentation suggests that it is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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 23:02:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1137701#M76114</guid>
      <dc:creator>dcarson1661</dc:creator>
      <dc:date>2022-01-26T23:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Thumbnails missing in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1166525#M77081</link>
      <description>&lt;P&gt;I need more clarification, the described does not work in my case js 4.22 app, REST feature service, ArcGIS Server 10.9. I have no such property in my feature service definition, I added it manually,etc. No success.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 07:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1166525#M77081</guid>
      <dc:creator>ClubExtreme</dc:creator>
      <dc:date>2022-04-21T07:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Thumbnails missing in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1212106#M78698</link>
      <description>&lt;P&gt;have you ever found a solution for this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're running into the same issue and I do not know any configuration option on the Map- or FeatureService.&lt;/P&gt;&lt;P&gt;In the what's new of 10.9.1 it says that it's supported, but our server is 10.9.1 and not even the property is visible on the featurelayer. ??&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/attachment-feature-service-.htm" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/attachment-feature-service-.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 18:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1212106#M78698</guid>
      <dc:creator>schenardi</dc:creator>
      <dc:date>2022-09-13T18:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Thumbnails missing in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1214737#M78770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you solved the issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 18:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1214737#M78770</guid>
      <dc:creator>OliviaZ_Meowth</dc:creator>
      <dc:date>2022-09-21T18:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Thumbnails missing in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1214926#M78774</link>
      <description>&lt;P&gt;unfortunately not. Maybe&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/482854"&gt;@dcarson1661&lt;/a&gt;&amp;nbsp;has more info?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Sep 2022 05:19:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1214926#M78774</guid>
      <dc:creator>schenardi</dc:creator>
      <dc:date>2022-09-22T05:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Thumbnails missing in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1215153#M78782</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I do have this working, but it sounds like my issue may not have been the same as what others are seeing?&lt;/P&gt;&lt;P&gt;I'm working with a Feature Service served up from ArcGIS Server 10.8.1. ArcGIS JS API 4.22 and my popup is using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html" target="_self"&gt;AttachmentContent&lt;/A&gt; popup element.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In my case, I needed to update the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#supportsResizeAttachments" target="_blank" rel="noopener nofollow noreferrer"&gt;supportsResizeAttachments&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;property to true on the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html" target="_self"&gt;Feature Layer&lt;/A&gt; once it was loaded. As far as I know there is nothing that needs to change on the Feature Service/ Map Service end.&lt;/SPAN&gt;&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;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dcarson1661_0-1663862398830.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/51904iD4C3289FA04FA4E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="dcarson1661_0-1663862398830.png" alt="dcarson1661_0-1663862398830.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 16:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attachment-thumbnails-missing-in-popup/m-p/1215153#M78782</guid>
      <dc:creator>dcarson1661</dc:creator>
      <dc:date>2022-09-22T16:02:57Z</dc:date>
    </item>
  </channel>
</rss>

