Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouzekri committed Sep 3, 2014
1 parent 745b693 commit f065a1e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Installation
Add `jbouzekri/phumbor-bundle` as a dependency in `composer.json`.

``` yml
"jbouzekri/phumbor-bundle": "1.0.0"
"jbouzekri/phumbor-bundle": "~1.0"
```
Enable the bundle in your AppKernel :
Expand Down
13 changes: 13 additions & 0 deletions Resources/doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jb_phumbor:
halign: center
valign: middle
smart_crop: true
metadata_only: true
filters:
- { name: "brightness", arguments: 52 }
```
Expand Down Expand Up @@ -141,6 +142,18 @@ jb_phumbor:
smart_crop: true
```

transformations.<transformation_name>.metadata_only
---------------------------------------------------------

Specify that JSON metadata should be returned instead of the thumbnailed.

``` yml
jb_phumbor:
transformations:
transformation_name:
metadata_only: true
```

transformations.<transformation_name>.filters
---------------------------------------------------

Expand Down

0 comments on commit f065a1e

Please sign in to comment.