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

limit portrait by height #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tinsaye
Copy link

@tinsaye tinsaye commented Oct 10, 2017

Instead of always sizing the image to the maximum width gives an option for limiting by height to prevent portrait beeing renderd to huge. Implementation is based on @pjan fork.
Solves @rmeissn issue #5

prop limitHeight:
0 - for not limiting by height - default value
value - max height

Example

default

portrait

limitHeight={800}

image

Instead of always sizing the image to the maximum width gives an option for limiting by height to prevent portrait beeing renderd to huge. Implementation is based on @pjan fork.
Solves @rmeissn issue flyfloor#5

prop limitHeight:	0 - for not limiting by height - default value
			value - max height
@rmeissn
Copy link

rmeissn commented Nov 30, 2017

@jerryshew Do you plan to merge this feature in the future? It would be very handy for my project.

@pb-expa
Copy link

pb-expa commented Aug 10, 2018

+1

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.

None yet

3 participants