HOW TO

Display images from URLs stored in ArcGIS Dashboards list elements attribute

Last Published: November 3, 2025

Summary

In ArcGIS Dashboards, storing images as URLs in an attribute field simplifies access control and improves performance by reducing the overall data size in hosted layers. Incorporating these images within the list element enhances data comprehension by providing visual context alongside attribute information. However, when the URL field is referenced directly in the list element, the link is displayed as text rather than as an image.

The Template editor and the preview area of the list configuration window in ArcGIS Dashboards

This behavior can be modified using advanced formatting, which enables the list to display images directly from the referenced URLs, and this article provides the workflow.

Procedure

  1. Open the dashboard edit page.
  2. On the dashboard view, hover over the ellipsis in the upper-left of the list element and click Configure The Configure icon.
  3. Enable advanced formatting for the list element. Complete Steps 1 and 2 in ArcGIS Dashboards: Enable advanced formatting in a list.
  4. In the advanced formatting editor, highlight the content and remove the existing expression.
  5. Specify the advanced formatting Arcade expressions.
    1. Define a variable to reference the image URL within the HTML image tag. Paste the following expression into the editor and replace <variable name> with the desired variable name and <field name> with the attribute field storing the URLs.
var <variable name> = '<p><img src="' + $datapoint.<field name> + '"/></p>';
    1. Return the variable as an attribute. Paste the following expression into the editor and replace <variable name> with the variable specified in Step 5(a).
return {
  attributes: {
    <variable name>
  }
};

The following code block shows the complete expression in the editor.

var img = '<p><img src="' + $datapoint.Image_URL + '"/></p>';

return {
  attributes: {
    img
  }
};
The 'Advanced formatting' editor in ArcGIS Dashboards
  1. Customize the HTML formatting to display the newly added attribute in the list element.
    1. Under Template, in the editor, place the blinking cursor at the desired location. In this example, the cursor is positioned below the last listed attribute.
    2. Click the Insert The Insert icon drop-down arrow.
    3. Under Expression, select the newly added attribute from the drop-down list. In this example, the new attribute is set as 'img'.
The Template editor in ArcGIS Dashboards

The new attribute is added to the editor and the images are displayed in the preview area.

The Template editor and the preview area of the list configuration window in ArcGIS Dashboards
  1. Click Done.
  2. In the dashboard layout panel, click Save The Save icon> Save to save the changes.
  3. In ArcGIS Dashboards, refresh the dashboard view page to reflect the changes.

Article ID: 000038525

Software:
  • ArcGIS Dashboards

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options