Browse files

updated readme

  • Loading branch information...
1 parent 3949ae1 commit cb3ba78f407e7d3a728881fe7d296f7e75eb8ddf wout fierens committed Dec 1, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.markdown
@@ -23,11 +23,11 @@ First define your public key and shared secret:
If you are generating local urls in development you can use a placeholder or dummy image.
This is done by setting the mode:
- Url2png::Config.mode = :dummy if Rails.env.development?
+ Url2png::Config.mode = :placehold if Rails.env.development?
Options are:
- - :production (default; will use the url2png api to generate thumbs)
- - :placehold (will generate an image at
+ - :production (default; will use the url2png api to generate images)
+ - :placehold (will generate images at
- :dummy (will give a grey base64 data image)
In Rails you probably want to do configuration in an initializer.

0 comments on commit cb3ba78

Please sign in to comment.