<?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: Is it possible to add multiple attachments or hyperlinks to a feature in ArcGIS? in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483798#M5213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp; I put an example here&amp;nbsp; &lt;A href="http://www.arcgis.com/home/item.html?id=1a4d6680918b461e9effbff413536c22" title="http://www.arcgis.com/home/item.html?id=1a4d6680918b461e9effbff413536c22"&gt;http://www.arcgis.com/home/item.html?id=1a4d6680918b461e9effbff413536c22&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two layers,&amp;nbsp; One shows a pattern for linking to the local file, the other shows the picture in the popup.&lt;/P&gt;&lt;P&gt;The example uses a picture named 'IMG_9822.JPG'&amp;nbsp; The picture is located in the C:\Users\Public\Pictures folder on the computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I loaded the default XSL Template&amp;nbsp; (click the Load button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then added this to the &amp;lt;xsl:template match = "Field"&amp;gt; section&amp;nbsp; in the &amp;lt;xsl:choose&amp;gt; part.&lt;/P&gt;&lt;P&gt;Link to picture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14109239452496230 jive_text_macro" jivemacro_uid="_14109239452496230"&gt;
&lt;P&gt;&amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[contains(., '.JPG')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;file:///C:/Users/Public/Pictures/&amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/xsl:when&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Show picture in popup&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1410924116574873" jivemacro_uid="_1410924116574873"&gt;
&lt;P&gt;&amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[contains(., '.JPG')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;img target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="src"&amp;gt;file:///C:/Users/Public/Pictures/&amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&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;nbsp; &lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;xsl:attribute name="width"&amp;gt;450 &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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/img&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a copy of the whole template for the show picture in popup.&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14109242024079675 jive_text_macro" jivemacro_uid="_14109242024079675"&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;xsl:stylesheet version="1.0" xmlns:xsl="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XSL/Transform" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/XSL/Transform&lt;/A&gt;&lt;SPAN&gt;" xmlns:fo="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XSL/Format" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/XSL/Format&lt;/A&gt;&lt;SPAN&gt;" xmlns:msxsl="urn:schemas-microsoft-com:xslt"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="ignoreFieldNames" select="'|OBJECTID|Shape|Shape_Length|Shape_Area|ATTACHMENTID|REL_OBJECTID|CONTENT_TYPE|ATT_NAME|DATA_SIZE|DATA|'"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="headerRowColor" select="'#9CBCE2'"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="alternateRowColor" select="'#D4E4F3'"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:template match="/"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;html&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;body style="margin:0px 0px 0px 0px;overflow:auto;background:#FFFFFF;"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-collapse:collapse;padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr style="text-align:center;font-weight:bold;background:{$headerRowColor}"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldsDoc/Title" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:apply-templates select="FieldsDoc/Attachments" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldsDoc/Fields/Field/FieldName"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:apply-templates select="FieldsDoc/Fields/Field/FieldName[not(contains($ignoreFieldNames, concat(concat('|', text()), '|')))]/.." /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:apply-templates select="FieldsDoc/Fields/Field" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:template match="Attachments"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="imageCount" select="count(Attachment/ContentType[contains(., 'image')])"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="attachmentCount" select="count(Attachment)"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr bgcolor="{$headerRowColor}"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="imageSrc" select="Attachment/ContentType[contains(., 'image')]/../FilePath"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="$imageSrc"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="center"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank" href="{$imageSrc}"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;img src="{$imageSrc}" width="275px" border="0"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="center"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="Attachment/ContentType[contains(., 'image')]/../Name" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="($attachmentCount &amp;amp;gt; $imageCount) or not($imageCount = 1)"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="center"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:for-each select="Attachment[position() mod 2 = 1]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="left" bgcolor="white"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="(position() +1) mod 2"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="bgcolor"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="$alternateRowColor"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FilePath"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="Name" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="following-sibling::Attachment/FilePath"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="following-sibling::Attachment/Name" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:template match="Field"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="(position() +1) mod 2"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="bgcolor"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="$alternateRowColor"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="FieldName"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldName"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[contains(., '.JPG')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;img target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="src"&amp;gt;file:///C:/Users/Public/Pictures/&amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&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;nbsp; &lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;xsl:attribute name="width"&amp;gt;450 &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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/img&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., 'http:')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., 'https:')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., '\\')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., '&amp;amp;lt;img ')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue" disable-output-escaping="yes" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/xsl:stylesheet&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line 117 you just need to set the path to the one that works for your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 03:24:06 GMT</pubDate>
    <dc:creator>MarkBockenhauer</dc:creator>
    <dc:date>2014-09-17T03:24:06Z</dc:date>
    <item>
      <title>Is it possible to add multiple attachments or hyperlinks to a feature in ArcGIS?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483795#M5210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a lot of records within the point feature for a project that I am working on. There are 3 particular image fields associated with these records. Each field contains a different image name for any given feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating hyperlinks and attachments but couldn't find a solution to retrieve data from more than one field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 15:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483795#M5210</guid>
      <dc:creator>RichardGeoghegan</dc:creator>
      <dc:date>2014-09-16T15:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add multiple attachments or hyperlinks to a feature in ArcGIS?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483796#M5211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are working within ArcMap you can use HTML popup properties on the layer with and XSL template to achieve what you desire.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;IMG alt="xsltemplate.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/12857_xsltemplate.png" style="width: 620px; height: 418px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 17:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483796#M5211</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2014-09-16T17:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add multiple attachments or hyperlinks to a feature in ArcGIS?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483797#M5212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Much appreciated for pointing this functionality out to me.&lt;/P&gt;&lt;P&gt;This seems ideal for what I want to achieve. Would you be able to offer any advice on how to write this code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My unique identifier is&lt;/P&gt;&lt;P&gt;"Code" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My image fields are&lt;/P&gt;&lt;P&gt;"HOTLINK_NE"&lt;/P&gt;&lt;P&gt;"HOTLINK_O"&lt;/P&gt;&lt;P&gt;"HOTLINK_M"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within each of these fields any given record contains an image name with the extension (.JPEG) or otherwise "n/a". These images are in a folder on my computers desktop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 23:53:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483797#M5212</guid>
      <dc:creator>RichardGeoghegan</dc:creator>
      <dc:date>2014-09-16T23:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add multiple attachments or hyperlinks to a feature in ArcGIS?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483798#M5213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp; I put an example here&amp;nbsp; &lt;A href="http://www.arcgis.com/home/item.html?id=1a4d6680918b461e9effbff413536c22" title="http://www.arcgis.com/home/item.html?id=1a4d6680918b461e9effbff413536c22"&gt;http://www.arcgis.com/home/item.html?id=1a4d6680918b461e9effbff413536c22&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two layers,&amp;nbsp; One shows a pattern for linking to the local file, the other shows the picture in the popup.&lt;/P&gt;&lt;P&gt;The example uses a picture named 'IMG_9822.JPG'&amp;nbsp; The picture is located in the C:\Users\Public\Pictures folder on the computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I loaded the default XSL Template&amp;nbsp; (click the Load button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then added this to the &amp;lt;xsl:template match = "Field"&amp;gt; section&amp;nbsp; in the &amp;lt;xsl:choose&amp;gt; part.&lt;/P&gt;&lt;P&gt;Link to picture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14109239452496230 jive_text_macro" jivemacro_uid="_14109239452496230"&gt;
&lt;P&gt;&amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[contains(., '.JPG')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;file:///C:/Users/Public/Pictures/&amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/xsl:when&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Show picture in popup&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1410924116574873" jivemacro_uid="_1410924116574873"&gt;
&lt;P&gt;&amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[contains(., '.JPG')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;img target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="src"&amp;gt;file:///C:/Users/Public/Pictures/&amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&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;nbsp; &lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;xsl:attribute name="width"&amp;gt;450 &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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/img&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a copy of the whole template for the show picture in popup.&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14109242024079675 jive_text_macro" jivemacro_uid="_14109242024079675"&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;xsl:stylesheet version="1.0" xmlns:xsl="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XSL/Transform" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/XSL/Transform&lt;/A&gt;&lt;SPAN&gt;" xmlns:fo="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XSL/Format" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/XSL/Format&lt;/A&gt;&lt;SPAN&gt;" xmlns:msxsl="urn:schemas-microsoft-com:xslt"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="ignoreFieldNames" select="'|OBJECTID|Shape|Shape_Length|Shape_Area|ATTACHMENTID|REL_OBJECTID|CONTENT_TYPE|ATT_NAME|DATA_SIZE|DATA|'"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="headerRowColor" select="'#9CBCE2'"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="alternateRowColor" select="'#D4E4F3'"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:template match="/"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;html&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;body style="margin:0px 0px 0px 0px;overflow:auto;background:#FFFFFF;"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-collapse:collapse;padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr style="text-align:center;font-weight:bold;background:{$headerRowColor}"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldsDoc/Title" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:apply-templates select="FieldsDoc/Attachments" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldsDoc/Fields/Field/FieldName"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:apply-templates select="FieldsDoc/Fields/Field/FieldName[not(contains($ignoreFieldNames, concat(concat('|', text()), '|')))]/.." /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:apply-templates select="FieldsDoc/Fields/Field" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:template match="Attachments"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="imageCount" select="count(Attachment/ContentType[contains(., 'image')])"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="attachmentCount" select="count(Attachment)"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr bgcolor="{$headerRowColor}"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:variable name="imageSrc" select="Attachment/ContentType[contains(., 'image')]/../FilePath"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="$imageSrc"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="center"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank" href="{$imageSrc}"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;img src="{$imageSrc}" width="275px" border="0"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="center"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="Attachment/ContentType[contains(., 'image')]/../Name" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="($attachmentCount &amp;amp;gt; $imageCount) or not($imageCount = 1)"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="center"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:for-each select="Attachment[position() mod 2 = 1]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr align="left" bgcolor="white"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="(position() +1) mod 2"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="bgcolor"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="$alternateRowColor"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FilePath"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="Name" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="following-sibling::Attachment/FilePath"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="following-sibling::Attachment/Name" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:template match="Field"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="(position() +1) mod 2"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="bgcolor"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="$alternateRowColor"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:if test="FieldName"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldName"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[contains(., '.JPG')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;img target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="src"&amp;gt;file:///C:/Users/Public/Pictures/&amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&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;nbsp; &lt;/P&gt;
&lt;P&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;nbsp; &amp;lt;xsl:attribute name="width"&amp;gt;450 &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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/img&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., 'http:')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., 'https:')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., '\\')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;a target="_blank"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:when test="FieldValue[starts-with(., '&amp;amp;lt;img ')]"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue" disable-output-escaping="yes" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:when&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;xsl:value-of select="FieldValue"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:otherwise&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:choose&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/xsl:stylesheet&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line 117 you just need to set the path to the one that works for your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 03:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-it-possible-to-add-multiple-attachments-or/m-p/483798#M5213</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2014-09-17T03:24:06Z</dc:date>
    </item>
  </channel>
</rss>

