Placing Bad
This is a placeholder generator for developers to add to their sites, to help with testing. But what developer doesn't like Breaking Bad.
“I am the one who...adds placeholders to my site”
This is a placeholder generator for developers to add to their sites, to help with testing. But what developer doesn't like Breaking Bad.
“I am the one who...adds placeholders to my site”
If you know the width and height:
<img src="https://placingbad.com/200/200" />
<img src="https://placingbad.com/width/height" />
<img src="https://placingbad.com/200" />
<img src="https://placingbad.com/width" />
Categories include characters, locations, blue meth and some hidden gems for the die hard Breaking Bad fans.
For example: 'rock' shows a picture of a very angry Hank. 'Mineral' shows some of the minerals from Hanks collection.
Remember when using the below options to specify both height and width
<img src="https://placingbad.com/width/height/hank" />
<img src="https://placingbad.com/width/height/lab" />
<img src="https://placingbad.com/width/height/marie" />
<img src="https://placingbad.com/width/height/rock" />
<img src="https://placingbad.com/width/height/mike" />
<img src="https://placingbad.com/width/height/saul" />
<img src="https://placingbad.com/width/height/gus" />
<img src="https://placingbad.com/width/height/tuco" />
<img src="https://placingbad.com/width/height/mineral" />
<img src="https://placingbad.com/width/height/jesse" />
<img src="https://placingbad.com/width/height/todd" />
<img src="https://placingbad.com/width/height/skyler" />
<img src="https://placingbad.com/width/height/junior" />
<img src="https://placingbad.com/width/height/walter" />
<img src="https://placingbad.com/width/height/meth" />
<!--'All' will let you get any image from any category-->
<img src="https://placingbad.com/width/height/all" />
Available options with their default values are:
desaturate => 100
blur => 10
brightness => 50
color => FF0000
pixelate => 8
sepia (this does not accept any values)
To use a parameter add it to the image url like so:
<img src="https://placingbad.com/width/height/?desaturate" />
You can also set an option for most of the parameters. This is done like so:
<img src="https://placingbad.com/width/height/?desaturate=10" />
You can also chain options together if you would like to customise it more:
<img src="https://placingbad.com/width/height?desaturate=10&blur&color=d2d2d2" />
'Random' will allow you to set a size and then every time you request the image, it will change.
<img src="https://placingbad.com/width/height?random" />
<snippet>
<content><![CDATA[
<img src="http://placingbad.com/${1:200}/${2:200}" />
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>placebad</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>