<?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: JPEG Attachments Popup Preview not working in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1553104#M40862</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I came across the same behaviour in Enterprise 11.1 with Samsung devices, attachments captured with iPhones worked fine. Confirmed this is now&amp;nbsp; &lt;A href="https://support.esri.com/en-us/bug/the-thumbnails-of-attachments-are-broken-when-published-bug-000170994" target="_self"&gt;BUG-000170994&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 01:38:13 GMT</pubDate>
    <dc:creator>mkfeagle</dc:creator>
    <dc:date>2024-10-29T01:38:13Z</dc:date>
    <item>
      <title>JPEG Attachments Popup Preview not working</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1506156#M40037</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have an issue with JPEG Attachments on Feature Services in Enterprise 11.2 not having a preview in Popups. It seems to be due to the REST API not being able to produce a smaller image preview when the "&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;w&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;" parameter is defined in the request (see &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/attachment-feature-service/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/attachment-feature-service/&lt;/A&gt;). We have found this issue to be appearing with images from Samsung Phones, especially with Android 14. The REST API returns this error:&lt;/P&gt;&lt;P&gt;JFIF APP0 must be first marker after SOI&lt;/P&gt;&lt;P&gt;There are some old threads regarding this error message and they seem to hint towards the EXIF data of the images:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/55150857/reading-jpeg-or-gif-metadata-with-javax-imageio" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/55150857/reading-jpeg-or-gif-metadata-with-javax-imageio&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/haraldk/TwelveMonkeys/issues/428" target="_blank" rel="noopener"&gt;https://github.com/haraldk/TwelveMonkeys/issues/428&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Interestingly, when we download an attachment where the preview doesn't work, save a copy of the image with the Windows default image viewer (and thereby modifying the EXIF data) and add the image as an attachment again, the preview works. We also don't have this problem with the original image added as an attachment to a feature layer in ArcGIS Online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone had the same issue or can confirm it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 14:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1506156#M40037</guid>
      <dc:creator>malte</dc:creator>
      <dc:date>2024-07-17T14:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG Attachments Popup Preview not working</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1549442#M40778</link>
      <description>&lt;P&gt;Hi malte,&lt;/P&gt;&lt;P&gt;we have the same issue with Samsung mobile phones (Android 11 and 13) in Enterprise 11.1.&lt;/P&gt;&lt;P&gt;Images taken with iOS devices do not cause any problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We collect data and photos with Field Maps. In MapViewer popup the attached photos are only shown as linked container with text like "photo1". By clicking that container a new tab in the browser opens showing the image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took a look at the jpg files with Notepad++&lt;/P&gt;&lt;P&gt;Samsung jpg starts like that &amp;nbsp; ÿØÿá&amp;#5;âExif MM *&lt;/P&gt;&lt;P&gt;iPhone jpg starts like that &amp;nbsp;&amp;nbsp; ÿØÿà &amp;#16;JFIF &amp;#1;&amp;#1; H H ÿá&lt;/P&gt;&lt;P&gt;Other devices&amp;nbsp; I can not check as we only use iPhones and Samsung mobile devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any solution or hint as where to change Enterprise Portal configuration our files would really be &lt;SPAN class=""&gt;appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 11:25:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1549442#M40778</guid>
      <dc:creator>Micnow</dc:creator>
      <dc:date>2024-10-17T11:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG Attachments Popup Preview not working</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1553104#M40862</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I came across the same behaviour in Enterprise 11.1 with Samsung devices, attachments captured with iPhones worked fine. Confirmed this is now&amp;nbsp; &lt;A href="https://support.esri.com/en-us/bug/the-thumbnails-of-attachments-are-broken-when-published-bug-000170994" target="_self"&gt;BUG-000170994&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 01:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1553104#M40862</guid>
      <dc:creator>mkfeagle</dc:creator>
      <dc:date>2024-10-29T01:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG Attachments Popup Preview not working</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1561886#M41041</link>
      <description>&lt;P&gt;According to BUG-000170994 it should be resolved, but we have now 11.4 installed and this problem still persists. So what has been fixed? We are using Samsung mobiles, as someone above wrote - on iOS this does not occurs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desmond_0-1732309897581.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120276i953607DACDD0D9AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="desmond_0-1732309897581.png" alt="desmond_0-1732309897581.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 21:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/jpeg-attachments-popup-preview-not-working/m-p/1561886#M41041</guid>
      <dc:creator>desmond</dc:creator>
      <dc:date>2024-11-22T21:11:44Z</dc:date>
    </item>
  </channel>
</rss>

