The InfoPopupWidget only loads the image if the url ends with .jpg, .png or .gif. What are your url's like?
Here is the link to a traffic camera...http://www.achdidaho.org/ATIS/CCTV/CCTV_36.jpg?939
if ((sfx == ".jpg") || (sfx == ".png") || (sfx == ".gif") || link.indexOf(".jpg") > -1)
if ((sfx == ".jpg") || (sfx == ".png") || (sfx == ".gif") || link.indexOf(".jpg") > -1 || link.indexOf(".jpeg") > -1)
<layer label="Traffic Cameras" type="feature" visible="true" alpha="1" popupconfig="popups/PopUp_Traffic_Cameras.xml" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2"/>
<?xml version="1.0" ?> <configuration> <title>{DESCRIPTION}</title> <fields> <field name="DESCRIPTION"/> <field name="ONLINE"/> <field name="LAST_UPDATED"/> <field name="URL"/> </fields> <medias> <media type="image" caption="Latest Image {LAST_UPDATED} online: {ONLINE}" imagesource="{URL}" imagelink="{URL}"/> </medias> </configuration> <!-- Pop-up configuration file for: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2 -->
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.