<?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>idea ArcGIS Server assigns wrong MIME types to image attachments of hosted feature layers in ArcGIS Enterprise Ideas</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idi-p/921350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems ArcGIS Server (using 10.7) is assigning MIME type &lt;EM&gt;application/octet-stream&lt;/EM&gt; when clicking pop-up links for photo attachments on hosted feature layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="451843" alt="sc" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/451843_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of opening a new window/tab and previewing the photo, the browser is opening the &lt;EM&gt;download file&lt;/EM&gt; dialog box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue &lt;STRONG&gt;only seems to happen on attachments for hosted feature layers&lt;/STRONG&gt;. Attachments for &lt;STRONG&gt;feature services&lt;/STRONG&gt; present the files as image/jpeg and load into the new tab properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="451850" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/451850_Capture2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tested this out with any other file types but I assume it will handle them the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if&amp;nbsp;Server could feed proper MIME types for hosted layers too. Previewing images in the browser window is incredibly important to our workflow. Also, hosted layers represent the best way to create and organize content for our organization. Copying data to the server through feature services just really isn't an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8; font-weight: 300;"&gt;#BUG-000123301&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2019 16:25:41 GMT</pubDate>
    <dc:creator>AshtonWoodrow1</dc:creator>
    <dc:date>2019-06-28T16:25:41Z</dc:date>
    <item>
      <title>ArcGIS Server assigns wrong MIME types to image attachments of hosted feature layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idi-p/921350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems ArcGIS Server (using 10.7) is assigning MIME type &lt;EM&gt;application/octet-stream&lt;/EM&gt; when clicking pop-up links for photo attachments on hosted feature layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="451843" alt="sc" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/451843_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of opening a new window/tab and previewing the photo, the browser is opening the &lt;EM&gt;download file&lt;/EM&gt; dialog box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue &lt;STRONG&gt;only seems to happen on attachments for hosted feature layers&lt;/STRONG&gt;. Attachments for &lt;STRONG&gt;feature services&lt;/STRONG&gt; present the files as image/jpeg and load into the new tab properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="451850" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/451850_Capture2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tested this out with any other file types but I assume it will handle them the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if&amp;nbsp;Server could feed proper MIME types for hosted layers too. Previewing images in the browser window is incredibly important to our workflow. Also, hosted layers represent the best way to create and organize content for our organization. Copying data to the server through feature services just really isn't an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8; font-weight: 300;"&gt;#BUG-000123301&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 16:25:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idi-p/921350</guid>
      <dc:creator>AshtonWoodrow1</dc:creator>
      <dc:date>2019-06-28T16:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server assigns wrong MIME types to image attachments of hosted feature layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/921351#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the same issue with uploading larger .AVI and .MP4 files.&amp;nbsp; I have smaller videos under the 10MB Hosted Feature Layer limitation that are working okay, however.&amp;nbsp; I uploaded these videos using Python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to use these attachments to stream 75-100MB through a browser on an iPad.&amp;nbsp; On a PC, the download works and the video plays, but when I attempt to click the link inside the browser on Safari it appears it doesn't know what type of file format it is.&amp;nbsp; Again - smaller videos are working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried downloading and republishing the video with a free video conversion tool but that didn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{'id': 3792,&amp;nbsp;&amp;nbsp; 'globalId': 'ead1e143-8cba-4174-8588-16e0eab98bd5',&amp;nbsp;&amp;nbsp; 'parentGlobalId': '0fdd68f6-aa78-4911-b7ff-aba5910a931c',&amp;nbsp;&amp;nbsp; 'name': '1MAINcleanouttohouse9-2017mp4',&amp;nbsp;&amp;nbsp; 'contentType': 'application/octet-stream',&amp;nbsp;&amp;nbsp; 'size': 74136144,&amp;nbsp;&amp;nbsp; 'keywords': '',&amp;nbsp;&amp;nbsp; 'exifInfo': None}]

This video upload worked:
&lt;PRE class="lia-code-sample line-numbers language-none"&gt; {'id': 1493,&amp;nbsp;&amp;nbsp; 'globalId': 'c5f9329f-63f8-4cb6-9f5b-6d21d5d6e2b3',&amp;nbsp;&amp;nbsp; 'parentGlobalId': '0c7b06e8-e929-4b89-bdc4-ae26cd628499',&amp;nbsp;&amp;nbsp; 'name': '16587.mp4',&amp;nbsp;&amp;nbsp; 'contentType': 'video/mp4',&amp;nbsp;&amp;nbsp; 'size': 4586885,&amp;nbsp;&amp;nbsp; 'keywords': '',&amp;nbsp;&amp;nbsp; 'exifInfo': None}]&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 17:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/921351#M12</guid>
      <dc:creator>JasonCiak</dc:creator>
      <dc:date>2021-12-12T17:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server assigns wrong MIME types to image attachments of hosted feature layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/1320750#M3418</link>
      <description>&lt;P&gt;I'm trying to figure out how to change the content type to solve this.&lt;/P&gt;&lt;P&gt;Connecting this thread with another similar one in case someone comes up with a solution:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/attached-file-geodatabase-table-and-file/m-p/1320691#M72313" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/attached-file-geodatabase-table-and-file/m-p/1320691#M72313&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 15:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/1320750#M3418</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2023-08-21T15:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server assigns wrong MIME types to image attachments of hosted feature layers - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/1362876#M3564</link>
      <description>&lt;P&gt;This was implemented in ArcGIS Enterprise 10.8.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 22:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/1362876#M3564</guid>
      <dc:creator>jill_es</dc:creator>
      <dc:date>2023-12-19T22:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server assigns wrong MIME types to image attachments of hosted feature layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/1362892#M3565</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/87861"&gt;@jill_es&lt;/a&gt;&amp;nbsp;do you have a fix for those still affected or do we have to remove and readd every attachment?&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;I posted a solution in &lt;A href="https://community.esri.com/t5/arcgis-online-questions/attachments-in-web-map-not-showing-thumbnails/m-p/1381778/highlight/true#M57458" target="_self"&gt;another thread.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 18:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-assigns-wrong-mime-types-to-image/idc-p/1362892#M3565</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2024-03-27T18:25:06Z</dc:date>
    </item>
  </channel>
</rss>

