Download this extension from the Visual Studio Marketplace or get the CI build.
This extension was created as a response to the Visual Studio feature request An option to preview images when they are hovered.
Shows an image preview when the mouse hovers over any URL or file path string anywhere in any text file.
It supports GIF, PNG, JPG, ICO, and SVG in the following image reference syntaxes:
- Absolute URL (http, https, and ftp)
- Relative URL (./, ../, and /)
- File path (c:\, c:/, \, and /)
- Data URI (data:image/png;base64,...)
- Pack URI (pack://application:,,,/Images/MyImage.png)
If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace.
Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist.
Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited.
Another way to help out is to sponsor me on GitHub.