I'm trying this procedure to add an image (photos in attachements to my layer) in my pop-up and it's not working. It's still staying as an attachments. Any help?
Hey Stéphanie Beauregard,
Can you attach a screen shot of your html code for your popup? It will make it a bit easier for me to tell you what to change. Does your attribute that you are storing the image path in have a file extension?
If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.
You can try with Map Viewer Beta to show attachments in popup:
You can use show attachments in popup with arcade expressions.
As I understand, with Arcade expression, that will be static. I will have to create a new relation each time I have new points and new photos.
My photos are store has an attachment in my SQL database (we are using ArcGIS collector). I would like that the pop up has been automatically configurate with all the photos name "Photo 1".
Maybe my best option is to explore Map viewer Beta
It should be possible to add images in ArcGIS Online,
Open your map in My Map and chose your layer on the left hand side, there should be three dots and scroll down to configure pop up.
The pop up panel should open up, and scroll down to the bottom, and Under the heading Pop- Up Media click ADD.
in the drop down choose Image.
A Configure Image window opens up.
Add title, and URL- ( the images will need to be a link if you are to add this to the Attributes directly)
click OK.The Image will be viewed in the Pop-up of the attribute layer.
Hope this helps