react-image-cropper icon indicating copy to clipboard operation
react-image-cropper copied to clipboard

limit portrait by height

Open tinsaye opened this issue 8 years ago • 2 comments

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 jerryshew/react-image-cropper#5

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

Example

default

portrait

limitHeight={800}

image

tinsaye avatar Oct 10 '17 15:10 tinsaye

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

rmeissn avatar Nov 30 '17 09:11 rmeissn

+1

pb-expa avatar Aug 10 '18 17:08 pb-expa