Skip to content

Commit

Permalink
Merge pull request #7 from Big-Shark/patch-1
Browse files Browse the repository at this point in the history
Fix typo in documentation
  • Loading branch information
freekmurze committed Feb 11, 2015
2 parents f0d2e54 + 02ee48f commit 0c1dc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The options in the config file are set with sane default values and they should
Assuming you've got an image named "kayaks.jpg" in ```app/storage/images``` (the input directory specified in the config file) you can use this code in a blade view:

```php
<img src="{{ GlideImage::load('kayaks.jpg')-modify(['w'=> 50, 'filt'=>'greyscale']) }}" />
<img src="{{ GlideImage::load('kayaks.jpg')->modify(['w'=> 50, 'filt'=>'greyscale']) }}" />
```
The arguments for ```modify``` can also be used as a second (optional) argument for ```load```:

Expand Down

0 comments on commit 0c1dc04

Please sign in to comment.