Skip to content

Instantly share code, notes, and snippets.

@shaneriley
Created March 30, 2011 18:49
Show Gist options
  • Save shaneriley/895001 to your computer and use it in GitHub Desktop.
Save shaneriley/895001 to your computer and use it in GitHub Desktop.
Dummy Image Helper
def dummy_image(dimensions, bg_color="cccccc", fg_color="333333")
"http://dummyimage.com/#{dimensions}/#{bg_color}/#{fg_color}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment