How to add photo ahead of attributes in custom popup for web map?

452
3
04-22-2019 08:05 AM
deleted-user-zDDgnx-PlxMH
New Contributor III

I have found the HTML coding once before for this, but I am trying to add the photo before or above my attribute lists within the popup for a web map. Essentially, when I click on a building outline, I want to see the photo first. If someone could provide a link to the custom popups to address this or the HTML code that needs to be put in the custom setting.  I would greatly appreciate it!

0 Kudos
3 Replies
Katie_Clark
MVP Regular Contributor

I got mine to work by just using an img tag in the HTML Source section of the custom popup configuration window. Here's the code that I used:

<img alt="picture" src="{Images}" style="width:231px;height:158px;" />

Where {Images} is the field that contains the URL of the photo. 

Hope that helps!

Best,
Katie


“The goal is not simply to ‘work hard, play hard.’ The goal is to make our work and our play indistinguishable.”
- Simon Sinek
deleted-user-zDDgnx-PlxMH
New Contributor III

Thank you so much! That is exactly what I was needing!

0 Kudos
Katie_Clark
MVP Regular Contributor

Great, glad I could help!     It would probably be good if you could mark this question as "answered" for the forum.  

Best,
Katie


“The goal is not simply to ‘work hard, play hard.’ The goal is to make our work and our play indistinguishable.”
- Simon Sinek
0 Kudos