Select to view content in your preferred language

Image attachments displayed in the PopupTemplate window

1890
2
Jump to solution
07-15-2016 03:10 PM
SteveBurdette
Regular Contributor

In the 4.0 Javascript API I can list image attachments using the PopupTemplate's "attachments" content type.  Users can then click on the attachment to download it.  What I need, though, is to display the image in the PopupTemplate.  Is there any current method for doing this? 

0 Kudos
1 Solution

Accepted Solutions
MattDriscoll
Esri Contributor

Hey Steve, an image browser for media attachments in the Popup is in the works but no set ETA yet.

View solution in original post

2 Replies
MattDriscoll
Esri Contributor

Hey Steve, an image browser for media attachments in the Popup is in the works but no set ETA yet.

SteveBurdette
Regular Contributor

Thanks for the response Matt.  Do you know of any workarounds that people are using until this is a part of the framework?  I can make an ajax call to get the url for the image attachment but am not sure how to dynamically add to the text content of the PopupTemplate.

0 Kudos