Placehold.it Image Tag Generator
Placehold.it plugin for Sublime Text 2
Details
Installs
- Total 4K
- Win 2K
- Mac 2K
- Linux 322
Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime-Placehold.it 1.2
Placehold.it plugin for Sublime Text 2
A plugin using the features of Placehold.it * Can insert an image tag with dummy image * Can store images locally to improve development speed and limit requests * Can insert any sized image tag with dummy image * Can browse and insert locally stored placeholder.it images * Text, Colors and Size can all be configured in the settings
Changelog
Version 1.2
- Fixed bug where plugin crashed if failed to store image locally.
- Plugin will echo informative error messages in console when failing to access or store images locally
- When failing to store images locally, plugin will fall back to URL.
- New setting
ph_save_local
. 0 = Do not save locally. 1 = Save locally. - The document you're working with must exist. Meaning, it need to have a file name.
Version 1.1
- Can now store dummy images locally
- Can browse locally stored images
- Settings for adding a list of different custom sizes
- Check the settings file for new settings
- Better readme file
Version 1.0
- Initial release
Installation
Package Control
If you have Package Control installed
- search for “Placehold.it Image Tag Generator” to install it
Using Git
Go to your Sublime Text 2 Packages directory and clone the repository using the command below:
git clone https://github.com/SubZane/Sublime-Placehold.it
Download Manually
- Download the files using the GitHub .zip download option
- Unzip the files and rename the folder to
Placehold.it Image Tag Generator
- Copy the folder to your Sublime Text 2
Packages
directory
How to use
- Launch the Command Palette using the menu (Tools->Command Palette…) or short key-command Shift+Cmd+P
- Be sure to look through the settings before use
- Find Placehold.it Insert default size (for default sized image)
- Find Placehold.it Insert custom size (to list your own custom set sizes)
- Find Placehold.it Insert cached images (to browse and insert cached images)
Settings
Find the settings file in the menu: Sublime Text2 ~> Preferences ~> Package Settings ~> Snipt.net Snippet Fetcher ~> Settings
* ph_bgcolor
Change this to set your own background color (HEX value)
* ph_textcolor
Change this to set your own text color (HEX value)
* ph_size
The default size of the image, for quick insert
* ph_default_sizes
List of image sizes to insert
* ph_format
File format. You can use .png, .gif or .jpg
* ph_text
The text on the dummy image. Default is the size of the image
* ph_save_local
1/0 if you want to save the dummy images locally
* ph_imagepath
The path for your image folder in your web project. This is where the dummy images is stored
Using key-commands
- p, h, tab (to insert image)