react-avatar icon indicating copy to clipboard operation
react-avatar copied to clipboard

Option to have a square / rectangular crop area ?

Open kdgit1 opened this issue 7 years ago • 9 comments

This looks great. Is there an easy way to have a rectangular / square cropType option as well ? Thanks.

kdgit1 avatar Dec 23 '17 04:12 kdgit1

@kdgit1 I am thinking about it. Probably after new year holidays I will implement this functionality

kirill3333 avatar Dec 23 '17 08:12 kirill3333

+1

elocke avatar Jan 30 '18 05:01 elocke

Isn't that the cropRadius prop?

ghost avatar Jun 29 '18 12:06 ghost

Isn't that the cropRadius prop?

tried this. I think this is only the initial crop radius when initializing the plugin or upon uploading an image.

Any updates about this?

neomrc avatar Sep 30 '18 14:09 neomrc

@neomrc could you provide a working example? I tried and from my point of view, it is not just a crop radius setting.

kirill3333 avatar Sep 30 '18 16:09 kirill3333

@kirill3333 what I mean is the cropRadius prop is not an option for making the photo cropper selector rectangle

neomrc avatar Oct 01 '18 01:10 neomrc

Is this still being considered? I would like this feature as well.

jason2li avatar Feb 01 '19 21:02 jason2li

@kirill3333 @neomrc @jason2li did anybody figured it out? thank you for any updates in this topic

ljacho avatar Mar 05 '19 01:03 ljacho

@kirill3333 The PR #62 might partially fix this issue.

foxylion avatar Nov 03 '20 11:11 foxylion