Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
allanmcarvalho authored Feb 24, 2017
1 parent 6a03050 commit 7028164
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,35 +94,35 @@ class ExamplesTable extends Table
'file1' => [
'image' => [
'format' => 'jpg',
'quality' => 75,
'watermark' => WWW_ROOT . 'img' . DS . 'watermark.png',
'watermark_position' => 'bottom-right'
'resize' => [
'width' => 500,
'height' => 600,
],
'crop' => [
'width' => 400,
'quality' => 75,
'watermark' => WWW_ROOT . 'img' . DS . 'watermark.png',
'watermark_position' => 'bottom-right'
'resize' => [
'width' => 500,
'height' => 600,
],
'crop' => [
'width' => 400,
'height' => 400,
],
'thumbnails' => [
[
'width' => 450,
'height' => 400,
],
'thumbnails' => [ // Optional
[
'width' => 450,
'height' => 400,
'crop' => [
'width' => 400,
'height' => 400,
],
],
[
'width' => 225,
'height' => 200,
'watermark' => false;
]
]
]
]
]);
'crop' => [
'width' => 400,
'height' => 400,
],
],
[
'width' => 225,
'height' => 200,
'watermark' => false;
]
]
]
]
]);
```
> **Image options:**
>
Expand Down

0 comments on commit 7028164

Please sign in to comment.