ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Image​Preview

by alvesjtiago ST3

The Sublime Text image previewing plugin

Labels hover, image, preview, file, url

Details

Installs

  • Total 10K
  • Win 6K
  • Mac 2K
  • Linux 1K
Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3
Windows 2 7 7 6 4 5 8 7 4 5 3 9 6 12 13 5 8 2 7 5 6 2 7 1 2 5 2 9 4 3 3 6 6 5 7 9 6 4 7 4 3 11 2 3 2 2
Mac 1 0 1 1 2 0 1 2 0 1 0 1 2 2 4 1 1 1 3 2 1 2 4 0 4 2 3 7 2 0 0 0 4 4 3 2 3 0 0 4 2 3 4 4 0 2
Linux 2 2 2 3 2 2 1 0 0 0 0 1 7 1 0 0 0 1 2 1 0 1 0 0 2 0 2 1 2 0 0 1 0 2 0 1 1 1 2 0 0 0 0 0 1 2

Readme

Source
raw.​githubusercontent.​com

ImagePreview

The Sublime Text image previewing plugin

Screenshot of ImagePreview, a plugin for Sublime Text by @alvesjtiago

Usage

  • hover over an image filename (full, relative or just the name), a url or a data-url
  • open the context menu and click on Preview Image (it's only visible when on an image identifier)
  • you can bind the “preview_image” command to a key or a mouse gesture (it is not bound by default)

Installation

Package Control

Search for “ImagePreview” and install.

Manual

macOS

cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
git clone --depth=1 https://github.com/alvesjtiago/sublime-image-preview.git

Ubuntu

cd ~/.config/sublime-text-3/Packages
git clone --depth=1 https://github.com/alvesjtiago/sublime-image-preview.git

Windows

cd "%APPDATA%\Sublime Text 3\Packages"
git clone --depth=1 https://github.com/alvesjtiago/sublime-image-preview.git

Or manually create a folder named “ImagePreview” on your Packages folder and copy the content of this repo to it.

Requirements

  • to preview images that need conversion the plugin requires Imagemagick and that magick command is in your path.

Contribute

ImagePreview is a small utility created by Tiago Alves. Any help on this project is more than welcome. Or if you find any problems, please comment or open an issue with as much information as you can provide.