Skip to content
A php placeholder image service.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
example
readme.md

readme.md

#Dummy Image Placeholder

####Yet another simple image placeholder service.

Live site

##How to You just need to put the image size after our URL to get a dummy image.

http://myserver.com/100x150

You also can use it directly in your code:

####HTML

<img src="http://myserver.com/100x150" alt="" >

####CSS

.div{
	background: url(http://myserver.com/100x150) no-repeat center center;
}

##Examples ###Add custom colors

You can pass a background color and a text color as hexadecimal values.

http://myserver.com/350x150/7E6979/EFCFAB

alt text

###Add custom text You can define a custom text, insted of the image dimension.

http://myserver.com/350x150&t=Hello word!

![alt text](http://dummy-image-placeholder.c238.com.ar/350x150&t=Hello word!)

###Add multiple lines of text You can add a break line adding two consecutive lower dash characters.

http://myserver.com/350x150&t=Hello__World!

alt text

##Technical

  • Background color: #cccccc;
  • Text color: #888888;
  • Font family: BebasNeue Regular - TTF
  • Image format: PNG;

##Requirements

  • PHP5

##To-Do

  • Improve .htaccess configuration so redirect to index.php on missing parameters or any error.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.