Good day,
I'm trying to add a link to an image in a popup from a web map service I published. I have a feature class with images added to the attribute table. I've published this feature class but I don't see the picture field in the attribute table. When I configure the popups, I can see the picture field and I added it to the popup, but nothing is displayed. I found several articles on how to show an image in a popup, but they require that you already have links to the images already working. I haven't even been able to get that far. Any suggestions would be much appreciated!
Hi Chris,
Where are the images stored/hosted that you are trying to display?
Hi Katherine,
Thank you for your reply. They are stored in the attribute table of the feature class that I published to our ArcGIS Server 10.6.1. I believe the images are called feature attachments when they are added directly into the attribute table. I took a screenshot of this and attached it to my post above. The image is called picture_field.jpg.
Hmm...I am wondering if this is a feature that is not supported in ArcGIS Online. As you see in the pop-up configuration, it wants a text field that contains a URL (or just a static URL), not one that contains raster data directly stored in the attribute (which I believe is a BLOB data type). If there is a way you can host them on an image server and get a URL that way, then they should display in the pop-up.
Also, I am curious, once you configured the pop-up to display the Picture field and saved that configuration, did that field appear in the attribute table in Map Viewer?
Judging off of this: https://www.reddit.com/r/gis/comments/76x62v/how_to_get_arcgis_online_to_automatically/ I think it might be supported. I've tried to contact the person that posted that on reddit, but I haven't heard back. Unfortunately, hosting them on an image server wouldn't be practical in our situation. After configuring the pop-up to display the picture field, that field did not appear in the attribute table in map viewer. I've been playing with something called feature access and feature services, but I haven't had any luck.
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.