Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds resizeMode to poster image #595

Merged
merged 2 commits into from
May 29, 2018
Merged

Conversation

benvp
Copy link
Contributor

@benvp benvp commented Apr 30, 2017

This PR removes the constraint of having a poster image using the resizeMethod: 'contain' by adding a posterResizeMode prop. This allows different resize methods such as cover

benlime and others added 2 commits April 30, 2017 13:43
Set contain as the default mode when not specified
@cobarx cobarx merged commit 9cf2342 into TheWidlarzGroup:master May 29, 2018
@cobarx
Copy link
Contributor

cobarx commented May 29, 2018

Thanks for this PR. I tweaked it slightly so that it automatically sets 'contain' as the default to maintain compatibility for existing users and not need to customize the value unless they need a different setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants