Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
gabifija committed Sep 24, 2020
1 parent 7224e17 commit 306ac7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -189,6 +189,8 @@ You can also add attributes to `image_tag`, for instance:
```

### Fetching a converted Filestack image URL with Filestack Transformations:
The `filestack_image_url` method accepts the original Filestack image URL and an optional `filestack_transform` chain:

```erb
<%= image_tag @user.filepicker_url, data: { transformed_image_url: filestack_image_url(@user.filepicker_url, filestack_transform.resize(width: 100, height: 100).flip.enhance) } %>
```
Expand Down

0 comments on commit 306ac7a

Please sign in to comment.