Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 691 Bytes

File metadata and controls

25 lines (14 loc) · 691 Bytes

Block

A simple dummy-image generator in php for local development.

Use

Link to block.php as an image. Following the file, set your parameters:

block.php/{width}/{height}/{bg-color}/{text-color}

Width is mandatory - everything after is optional. If no height is given, you get a square image. If no colors are given, #444 and #BBB are used for the background and text, respectively.

Currently images are returned in png format.


Blatantly copied the idea from Placehold.it - http://placehold.it/

Using Bitstream Vera Sans for the text - http://www-old.gnome.org/fonts/


Released Under The MIT License (MIT)

Copyright (c) 2012 Dylan Farnsworth