Images in Dashboard

4707
5
09-13-2018 01:43 PM
RadoslawCylwik
New Contributor III

Is there a way to insert an image from a field in the feature layer that I'm using in the dashboard.  I'd like to display an image stored as a url in the data.  I'm specifically looking at the list widget.  Each item on the list widget would have the image from that particular row of data.  I'm not sure what the HTML code for that may be.

0 Kudos
5 Replies
AdrianWelsh
MVP Notable Contributor

Radoslaw,

I haven't tested this but I imagine in the "Details" widget of operations dashboard, if your popup is configured correctly in the web map, you could get it to display an image based on a url.

It looks like this article somewhat describes that:

Details—Operations Dashboard for ArcGIS | ArcGIS 

Make sure the boxes are checked on for media and/or attachments (likely just media):

0 Kudos
BenjaminMittler
Occasional Contributor III

In the list configuration, click list, click source to open up the HTML editor. 

paste:

<p><img alt="" src="{PictureURL}" style="height:99%; width:99%" /></p>

replace the bolded text with the name of the field storing the URL. 

RadoslawCylwik
New Contributor III

Thank you for your suggestion, but it doesn't seem to be displaying the photo.  No errors, but it just displays the full link of the photo, not the actual image.

AdrianWelsh
MVP Notable Contributor

Can you share this map and/or dashboard here?

0 Kudos
Aghyan
by
New Contributor II

Refresh your dashboard page >> add a new "Details" or "List" widgets to the dashboard >> add the HTML 

<p><img src="{PictureURL}"></p> to the source >> close the source.

0 Kudos