/picture-this

tiny image generator in php

Primary LanguagePHP

#picture-this Generates image placeholders. Call it through an URL to display it.

Words of caution: do not use on a production site, instead, use it on a local server.

##example

<img src="picture-this.php?w=500&h=200&bg=ebd&fg=f00" alt="placeholder" />

would display

Example 1

##api Append each option through GET

parameter description default value
w width in px 200
h height in px 100
fg foreground color #fff
bg background color #000
t text to put on image width x height ("200 x 100" by default)

##recommendation Build a view helper to utilize it with your project's color codes and without having to type <img... all of the time.