Dilson, The only thing I see that is missing from the XML is the fields list. Here is an example I have working on my end. The BIG difference to note is I am using a virtual directory to gain a TRUE url. Using UNC paths or file paths is possible but different based on the browser. Firefox for example needs /// in the path "file:///c:/Assets/images/IMG_3663.jpg" where other browsers do not. This is why it is ill advised to use actual file paths or UNC path when in a web browser solution like Flex.<?xml version="1.0" ?> <configuration> <title>{NAME}</title> <description> <=!=[=C=D=A=T=A=[<p><b>Parcel Address: </b>{ADDRESS_3}</p><p><b>Owner Name: </b>{NAME}</p><p><b>Parcel Number: </b>{PARCEL_NUMBER}</p>]=]=> </description> <fields> <field name="ADDRESS_3" visible="false"/> <field name="NAME" visible="false"/> <field name="PARCEL_NUMBER" visible="false"/> <field name="URL" visible="false"/> </fields> <medias> <media type="image" caption="Image PPIN {PPIN}" imagesource="http://gislap183/Assets/Images/{URL}" imagelink="http://gislap183/Assets/Images/{URL}"/> </medias> </configuration>Here is a link to setting up a virtual directory on Apache:http://w3shaman.com/article/creating-virtual-directory-apache
<?xml version="1.0" ?> <configuration> <title>{NAME}</title> <description> <=!=[=C=D=A=T=A=[<p><b>Parcel Address: </b>{ADDRESS_3}</p><p><b>Owner Name: </b>{NAME}</p><p><b>Parcel Number: </b>{PARCEL_NUMBER}</p>]=]=> </description> <fields> <field name="ADDRESS_3" visible="false"/> <field name="NAME" visible="false"/> <field name="PARCEL_NUMBER" visible="false"/> <field name="URL" visible="false"/> </fields> <medias> <media type="image" caption="Image PPIN {PPIN}" imagesource="http://gislap183/Assets/Images/{URL}" imagelink="http://gislap183/Assets/Images/{URL}"/> </medias> </configuration>
Dilson, Though you can get UNC paths to work you really should setup a virtual directory so that instead you can use a proper url for the photo in that field. Can you provide an example of what one of your actual PHOTO paths looks like?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.