6Foot2 Posted March 10, 2010 Posted March 10, 2010 DummyImage.com is a time saver for web developers laying out a quick page. It receives arguments in the URL, and returns an image of the exact size, colors, and file format specified. Documentation Size width x height Height is optional, if no height is specified the image will be a square. Example: http://dummyimage.com/300 Must be the first option in the url Colors background color / text color Colors are represented as hex codes (#ffffff is white) Colors always follow the dimensions, http://dummyimage.com/250/ffffff/000000 not http://dummyimage.com/ffffff/250/000000 The first color is always the background color and the second color is the text color. The background color is optional and defaults to gray (#cccccc) The text color is optional and defaults to black (#000000) There are shortcuts for colors 3 digits will be expanded to 6, 09f becomes 0099ff 2 digits will be expanded to 6, ef becomes efefef 1 digit will be repeated 6 times, c becomes cccccc Note: a single 0 will not work, use 00 instead. [*]Standard image sizes are also available. See the complete list. http://dummyimage.com/qvga http://dummyimage.com/skyscraper/f0f/f Link: Dynamic Dummy Image Generator - DummyImage.com 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now