Skip to content

Commit

Permalink
Updated README including img-url
Browse files Browse the repository at this point in the history
  • Loading branch information
NBAMj committed Nov 6, 2016
1 parent bb522d5 commit d742756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Within a controller's scope, you can bind the thumbnail settings to your scope v
- `source`: URI (can be a data encoded URI) to the media to render.
- `max-height`: Maximum height of the thumbnail in pixels.
- `max-width`: Maximum width of the thumbnail in pixels.
- `img-url`: Image URL base64 encoded. Use this to save the image in your backend as base64.

There currently is no way to set the actual height/width of the thumbnail. The values will calculated based on the
dimensions of the rendered element, respecting the height/width ratio of the element.

0 comments on commit d742756

Please sign in to comment.