You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cropper's outline its allways square unless the fixed option is set to false. I want to set the cropper to a fixed aspect ratio, can i do that? If not, im willing to make a PR, just need to someone point me in the right direction regarding what files should i take a look.
The text was updated successfully, but these errors were encountered:
sntlln93
changed the title
Is there a way to set the aspect ratio of the cropper? 🤔
Is there a way to set a fixed aspect ratio to the cropper? 🤔
Jun 14, 2021
At the moment this is not possible, I built this library for a couple of small usecases a while ago. However, I will most likely do some work on it in the coming weeks to introduce some much-needed improvements (such as usage of css variables for theming, more modern build approach, additional configuration options, etc).
I'll be noting this one down to take in as an improvement.
Is there a format you would suggest for the ratio configuration (eg: '16:9')?
The cropper's outline its allways square unless the fixed option is set to false. I want to set the cropper to a fixed aspect ratio, can i do that? If not, im willing to make a PR, just need to someone point me in the right direction regarding what files should i take a look.
The text was updated successfully, but these errors were encountered: