You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this moment, the code tests the tag value and displays an image :
if it starts with 'http' => the tag value is rendered as a link
and it ends with png, gif or jpg. => the tag value is rendered as an image
I can add the condition "tag value starts with 'www.'" to render a link.
The problem with your request is how to detect whether the link is an image or not, as the box content is initialized once when the map is displayed.
I will try to access to the link target when the box is displayed, and check the mime type on the fly to display a link or an image, but I'm not sure I will manage to do it.
There a "few" objects. I suggest to build a tool that query all these objects and test the mime type of the "images", if the tag are appropriates… so we could manually or automatically fix them.
If possible, show directly the images in the box (for URL of type image/video)
Example
The text was updated successfully, but these errors were encountered: