Skip to content
View image from CSS declaration, HTML <img> tag, and may be from something else :)
Python
Latest commit 05cb09f Jan 27, 2012 @rmaksim UPDATE: v0.1.2
Failed to load latest commit information.
desktop v0.1.0 Jan 16, 2012
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Main.sublime-menu v0.1.0 Jan 15, 2012
README.md UPDATE: v0.1.2 Jan 27, 2012
image_viewer.py
image_viewer.sublime-settings

README.md

Image-Viewer

v0.1.2


View image from CSS declaration, HTML tag, and may be from something else :)

Forum Thread http://www.sublimetext.com/forum/viewtopic.php?f=5&t=4514

Example

html:

<img src="img/image.png" />
            |
            ^ cursor

css:

background: url(../img/image.png);
                        |
                        ^ cursor

Pressing the super+i opens the image viewer installed on your system by default.

Now works only in Linux.

image_viewer.sublime-settings

{
    "image_types": [".jpg", ".png", ".gif"]
}

Default (Linux).sublime-keymap

[
    {"keys": ["super+i"],  "command": "image_viewer"}
]

Copyright

Copyright (c) 2012 Razumenko Maksim razumenko.maksim@gmail.com

MIT License, see http://opensource.org/licenses/MIT

Something went wrong with that request. Please try again.