As you might be able to use UNC paths (you should not)... You should setup a virtual directory (if IIS) that points to the folder, so that you have a true URL to use instead.
Adrian, Rater fields are not supported by the REST API and thus not supported by the Flex API. You will have to have a field that has a URL to the image.
Adrian, Each feature will have a different URL in the field that you add to the featureclass.
Adrian, What I am talking about doesn't have anything to do with code. What I am Saying is in ArcMap you would add a field to the featureclass that currently has the Raster Field and make it type Text and then populate the field for each feature using the URL for the location of the image that you want to show. Once that is done and you re-publish the map service and clear the REST cache then you can setup the PopUp using that field.
You might want to use description tag as follows:<description> <![CDATA[<a href='{doc_url}'><u>Link to Site Records</u></a> ]]> </description>
<description> <![CDATA[<a href='{doc_url}'><u>Link to Site Records</u></a> ]]> </description>
<?xml version="1.0" ?> <configuration> <title>{ElementName}</title> <fields> <field name="ElementName" visible="true"/> <field name="CamLink" alias="Click for Camera" visible="true"/> </fields> <medias> <!-- <media type="image" caption="link" imagesource="{CamLink}" imagelink="{CamLink}"/> --> </medias> </configuration> <!-- Pop-up configuration file for: http://engr_svr/ArcGIS/rest/services/Maps/TVECDATA/MapServer/0
<?xml version="1.0" ?> <configuration> <title>{ElementName}</title> <description> <![CDATA[<a href='{CamLink}'><u>Link to Site Records</u></a> ]]> </description> <fields> <field name="ElementName" visible="true"/> <field name="CamLink" alias="Click for Camera" visible="true"/> </fields> <medias> <!-- <media type="image" caption="link" imagesource="{CamLink}" imagelink="{CamLink}"/> --> </medias> </configuration> <!-- Pop-up configuration file for: http://engr_svr/ArcGIS/rest/services/Maps/TVECDATA/MapServer/0
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.