Configure pop-up to show images from url

1068
4
03-21-2019 06:58 AM
PlinioSantos
New Contributor III

I have a feature service with a 1-N related table. The related table has an URL attribute which contains an hyperlink.

Realize that one feature can has many URL images related to it.

I need to configure the pop-up to show images from the URLs.

How can I accomplish that?

The solution presented here did not worked.

0 Kudos
4 Replies
AshleyNewby1
New Contributor II

Hi Plinio Santos‌,

From your post, it sounds like you have a table with multiple URLs for each record?

Do you want to display images for all the URLs in each pop-up?

For the solution here, did you use the code, or the ArcGIS Online workflow?

With the information provided so far, it looks like this workflow may be helpful.

Arcade Expressions may be something to look into as well.

Best,

Ashley

0 Kudos
PlinioSantos
New Contributor III

Hi Ashley,

Yes, I have many URLs for each record. Also yes, I want to display all URLs in the feature popup. It may be a gallery or once at a time.

I already had saw the solutions you brought but I choose to develop my own gallery widget, retrieving information directly from the service's REST interface.

Thank you for you attention.

0 Kudos
AshleyNewby1
New Contributor II

Hi Plinio,

How are the URL's listed in the column (E.g. are they separated by commas)? Are you getting an error message when trying the original solution?

Screenshots would be very helpful. 

Thanks!

Ashley

0 Kudos
AshleyNewby1
New Contributor II

Hi Plinio,

I found this blog with a video on how to display images from a URL in the pop-up using Arcade:

https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2019/03/22/show-attachments-in-po... 

Hope this helps!

Ashley

0 Kudos