<?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 how to view a feature with a photo attached to it from arcgis to google earth in Spatial Data Science Questions</title>
    <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181966#M471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to add a feature (File Geodatabase) with an attached photo (raster file) from ArcMap to google earth. When i use the tool Layer to KML i get the feature but when i open the google earth file i can't view&amp;nbsp; the photo attached to Google Earth. I attached a picture below&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/212689_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2016 20:11:59 GMT</pubDate>
    <dc:creator>HashemAbdo1</dc:creator>
    <dc:date>2016-07-21T20:11:59Z</dc:date>
    <item>
      <title>how to view a feature with a photo attached to it from arcgis to google earth</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181966#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to add a feature (File Geodatabase) with an attached photo (raster file) from ArcMap to google earth. When i use the tool Layer to KML i get the feature but when i open the google earth file i can't view&amp;nbsp; the photo attached to Google Earth. I attached a picture below&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/212689_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 20:11:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181966#M471</guid>
      <dc:creator>HashemAbdo1</dc:creator>
      <dc:date>2016-07-21T20:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to view a feature with a photo attached to it from arcgis to google earth</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181967#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Geodatabase attachments are not exported to the KMZ.&amp;nbsp; In order to view the image, you'd need to save the photo to a location that is web enabled and add they hyperlink of the image to a field in your feature class.&amp;nbsp; Then you would need to modify the html popup xsl template in the layer properties to include a test for field values.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN&gt;&amp;lt;xsl:when test="FieldValue[starts-with(., '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fyourimageserver.com%2Fimage_directory%2F" target="_blank"&gt;http://yourimageserver.com/image_directory/&lt;/A&gt;&lt;SPAN&gt;')]"&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&amp;lt;xsl:value-of select="FieldValue"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name="src"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name="width"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select="250"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/img&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/a&amp;gt;&amp;nbsp; 
&amp;lt;/xsl:when&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The photo will show up in the html popup in ArcMap in the table provided the url base included in the XML test matches the beginning of the URLs for the photos.&amp;nbsp; When exported to KMZ, the html popup should look the same in google earth.&amp;nbsp; It will also hyperlink to the photo for full screen viewing.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181967#M472</guid>
      <dc:creator>JosephSegretto__GISP</dc:creator>
      <dc:date>2021-12-11T09:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to view a feature with a photo attached to it from arcgis to google earth</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181968#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never tried this before and i'm a little bit confused could you explain what you mean when you say : &lt;/P&gt;&lt;P&gt;1)"y&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;ou'd need to save the photo to a location that is web enabled and add they hyperlink of the image to a field in your feature class"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Where do i put that code ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;2) &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Then you would need to modify the html popup xsl template in the layer properties to include a test for field values.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thank you in advance &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 12:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181968#M473</guid>
      <dc:creator>HashemAbdo1</dc:creator>
      <dc:date>2016-07-22T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to view a feature with a photo attached to it from arcgis to google earth</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181969#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI&gt;If you have access to a web server, you can place the photos on a webserver and use them there.&amp;nbsp; If not, you can upload your images to a site like Flickr.&amp;nbsp; As long as you grant public viewing permissions, the images will appear in the html popup.&lt;/LI&gt;&lt;LI&gt;There are sample xsl templates installed with ArcGIS Desktop at C:\Program Files (x86)\ArcGIS\Desktop10.x\Styles\HTMLPopup.&amp;nbsp; You can copy and paste the code from the example .xsl into the HTML Popup tab of the layer properties for your layer.&amp;nbsp; In the EmbeddVideo.xsl, you will see segments of code that start with &lt;STRONG&gt;&amp;lt;xsl: when&lt;/STRONG&gt;.&amp;nbsp; You can modify one of those sections to match the snippet above, or add the snippet from above as another test.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:46:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181969#M474</guid>
      <dc:creator>JosephSegretto__GISP</dc:creator>
      <dc:date>2016-07-22T13:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to view a feature with a photo attached to it from arcgis to google earth</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181970#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 14:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-view-a-feature-with-a-photo-attached-to-it/m-p/181970#M475</guid>
      <dc:creator>HashemAbdo1</dc:creator>
      <dc:date>2016-07-22T14:51:51Z</dc:date>
    </item>
  </channel>
</rss>

