Friday 23 January 2015

Placehold.it - The awesome online image placeholder

Ever wanted to use a default image while developing? It was always time consuming to jump into Photoshop to create a sample image with the right dimensions, save and then use it for development.
Until some freaking awesome genius created placehold.it!!
If you want a default image all you need to do is pass a custom URL to your image "src" attribute to create a default image. With the parameters defined more in detail below.


Simple Image

Default with the right dimensions










Advanced Image

  1. First parameter (1220x470) is the dimensions
  2. Second parameter (3299CC) is the hex of the background
  3. Third parameter (FFFFFF) is the hex of the text displayed
  4. Fourth parameter ($text=Event) is the actual text displayed











Example Usage


Tada!!

No comments:

Post a Comment