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
There's a possible way to hack this upstream to make it work for any URL. It involves programmatically trying to assign a URL to an img element's src, and listening for onload and onerror:
varimg=document.createElement('img');img.onload=function(){// url points to an image and can be loaded, display pop-up};img.onerror=function(){// url points to a non-image, and can't be loaded, don't display.};img.src=url;
I'd look in Brackets' upstream issues and see if this is filed already.
Presently with the
<img>
tag in relation to hovering over the src, there are certain file types that don't presently appear to work, these being:bmp
no file type(extension)
tiff(but it doesn't appear to be a web file format, so neglect able I imagine)
The following are presently working:
svg
jpg
jpeg
png
gif
The text was updated successfully, but these errors were encountered: