Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

holder.ninja

This is an open source server side image holder web service. All images are SVG format and they can scale nicely. It doesn't support another image formats. And it gives the requested images with a "max-age one year" header for awesome cache controlling.

##USAGE http://holder.ninja/800x600.svg

###PARAMETERS

The service has six parameters and they separated with a comma.

# Parameter Description Sample
1 Size Width and Height 800x600
2 Text Optional image text. Default: Their size value. It can be two lines by a ` ` separator.
3 Background Optional hex background color without #. Default: ddd ddd
4 Foreground Optional text color without #. Default: 333 666
5 Font size Font size without px. Default: 24 32
6 Font family Single font family. Default: Helvetica Arial

##SAMPLES All sample images scaled by css.

Requested URL Response Image
http://holder.ninja/200x150.svg holder.ninja
http://holder.ninja/200x150,sample%20text.svg holder.ninja
http://holder.ninja/200x150,,8bd,fff.svg holder.ninja
`http://holder.ninja/200x150,HELLO WORLD,,,44,Verdana.svg`

About

This is an open source server side image holder web service.

Resources

License

Releases

No releases published
You can’t perform that action at this time.