Map tips - Image
I'd like to configure map tips to include an image (not just a hyperlink). The image URLs are contained in a field. Is there some way to reference the image field values rather than inserting a static image into the feature description?
0
-
+1
I also wish to have this capabilty enabled0 -
You can with an <img> tag or an <iframe>. We even set up some to pull an address from a parcel's attributes and display the Google Street View image.
Put something like this in a feature description:
<img src="https://cdn.society6.com/cdn/0009/p/2250559_9176873_pm.jpg">0 -
Just noticed you said the URLs are in a field, so this should work:
<img src="{URLfieldname}">0 -
Thanks Dan! Works great! 0 -
And what if I wanted to do this with images stored as attachments (and therefore in a related table)? 0 -
And if you want to provide some dimension to your image, you can do something like this:
<p><img src="{pic_url}" height="200" width="250"</p>0
Please sign in to leave a comment.
Comments
6 comments