Placebox.es is a free image placeholder service which both novice and experienced web designers can use in their template designs. Our service is
100% free and you can use it as much as you like and on any page or project you wish.
We have tried to make the use of our service, as easy and simple as possible, and in fact all you have to do to generate a placeholder on the fly, is simply
adding the width dimension to the url in your address bar:
http://placebox.es/150/.
The above example produce a square 150px image placeholder, with background color randomly changing at load time.
Should you need more advanced stuff
such as custom Background color on the image placehold or possibly a different Text color and maybe a custom text to top it all off, then this is also possible. See the advanced examples below.
Total image placeholders generated: 11540964 [Today: 2756 ]
You can automate the generation of the image placeholders, in such a way that the only thing you as a designer needs to
do is to make sure the dimensions of an IMG tag is set either directly on the element or in the CSS file.
To make this magic happen, you only need to download the .js file and link it in the head section of your html page, and then
call the code block listed below. Doing so will make the placeholder magic happen.
Download script
Click here to download placeboxes.js file
Click here to download full code example including HTML page
Code to call the function
$(document).ready(function () {
$('body').placeboxes();
});
a square image placeholder at 150px size?
Specify the dimension of the image placeholder as the first parameter to create a square with the same width and height.
Background color of the image will random at each load.
code:
http://placebox.es/150/
a placeholder image at 150x150 size and a yellow background and black text?
Specify the dimensions to create an image placeholder with different sized width and height.
Specifying a background color will force the placeholder to display in the same color each load.
Specifying a second color will make the text color change.
code:
http://placebox.es/150/150/DDE15C/000000/
http://placebox.es/150x150/DDE15C/000000/
a image placeholder at 150x150 size, purple background, white and custom text?
Specify the dimensions to create an image placeholder with different sized width and height.
Specifying a background color will force the image placeholder to display in the same color each load.
Specifying a second color will make the text color change.
Specifying a text will override the default text of the placeholder, and show the selected instead.
code:
http://placebox.es/150/150/AE5CE1/ffffff/Custom text/
http://placebox.es/150x150/AE5CE1/ffffff/Custom text/
2 images on the same page, and would like them to randomly change color?
If you have 2 or more placeholder boxes on a single page generated by placebox.es, they will render at the same color
due to the cache in your browser. To get around this, you need to add a querystring parameter to the url, so that the boxes
does not use the exact same address.
code:
http://placebox.es/150/50/
http://placebox.es/150/150/
http://placebox.es/150/150/?t=2
http://placebox.es/150/150/?t=3
Larger text, Check! Now what about a custom text style?
Custom text styles is also possible, it requires you to add another parameter after the text size.
The following parameters can be used:
(b)old, (i)talic, (s)trikethrough, (u)nderline.
Make a text Bold and italic you would add the following as the 2nd parameter: ,bi
Make a text Bold,italic,strikethrough and underline you would add the following as the 2nd parameter: ,bisu
code:
http://placebox.es/150/150/4f75e4/ffffff/Custom text,25,bisu/
http://placebox.es/150x150/4f75e4/ffffff/Custom text,25,bisu/
This is an advanced feature, and the url format needs to follow these rules to render correctly