Select to view content in your preferred language

Image media not displaying in arcgis-popup component v5.0.9

417
5
Jump to solution
03-05-2026 07:47 PM
Michael_Fletcher
Emerging Contributor

Using ArcGIS Maps SDK for JavaScript 5.0.9 arcgis-popup component
Popup configured in AGOL webmap displaying image media from publicly accessible url.

Webmap.png

The image url contains braces { } anything between these including the braces is being removed from the url.

arcgis-popup image media img src.png

Resulting in an empty div with dimensions displaying in the popup.

empty_div.png

This doesn't occur when using the now deprecated "@ArcGIS/core/widgets/Popup.js"

deprecated_popup.png

The quick solution is to remove braces from the image filenames, however thought I'd mention this here, it appears to be a bug.

 

 


 

0 Kudos
1 Solution

Accepted Solutions
LaurenBoyd
Esri Contributor

Hi @Michael_Fletcher -

We have fixed this issue in the next release of the JS Maps SDK (version 5.1) which will be released mid June. You could test the fix with the 5.1.0-next version of the SDK: https://github.com/Esri/feedback-js-api-next 

Thank you for reporting this issue!

Lauren

View solution in original post

0 Kudos
5 Replies
GianlucaMiele1
Esri Contributor

Thank you for reporting this, @Michael_Fletcher. We have opened an issue on our side and will investigate and resolve it shortly.

Would you mind sharing the public webmap with us, if possible?

Thanks, Gianluca

Gianluca Miele | Principal Product Engineer Web 3D
Esri
0 Kudos
Michael_Fletcher
Emerging Contributor
0 Kudos
LaurenBoyd
Esri Contributor

Hi @Michael_Fletcher -

We have been investigating with our own data in house and this seems to have not worked for neither the Popup widget nor the Popup component in previous releases in our test case. For us to investigate further, could you please provide us with the public web map?

Lauren
0 Kudos
LaurenBoyd
Esri Contributor

Update to my comment earlier, I believe we have been able to reproduce the behavior you're experiencing. We are currently investigating. Thanks for reporting this!

Lauren
0 Kudos
LaurenBoyd
Esri Contributor

Hi @Michael_Fletcher -

We have fixed this issue in the next release of the JS Maps SDK (version 5.1) which will be released mid June. You could test the fix with the 5.1.0-next version of the SDK: https://github.com/Esri/feedback-js-api-next 

Thank you for reporting this issue!

Lauren
0 Kudos