Xitrum implementation for placehold.it running on Heroku
Use as placeholder inside img tag like below:
<img src='http://xitrum-placeholder.herokuapp.com/150/100?color=black&text=xitrum&textcolor=00FF00'>
/:size
return the square image of the specified size.
e.g. : http://xitrum-placeholder.herokuapp.com/100
/:width/:height
return the rectangle image of the specified width * height.
e.g. : http://xitrum-placeholder.herokuapp.com/200/100
/circle/:radius
return the circle image of the specified radius.
e.g. : http://xitrum-placeholder.herokuapp.com/circle/100
customize image with query parameter.
e.g. : http://xitrum-placeholder.herokuapp.com/100/100?color=red&text=hello&textcolor=white
- color (rrggbb or ColorName) : see also =>
<a href="http://www.docjar.com/docs/api/java/awt/Color.html" trget="_blank">Color</a>
- text (String)
- textcolor (rrggbb or ColorName)
git clone https://github.com/xitrum-framework/xitrum-placeholder.git
cd xitrum-placeholder.git
sbt/sbt fgRun
Running at http://localhost:8000/