Cropper image not fitting container #1266
TeniSoftTechnologies
started this conversation in
General
Replies: 2 comments
-
|
Do you miss the For example: <cropper-image src="/cropperjs/picture.jpg" alt="Picture" rotatable scalable skewable translatable></cropper-image> |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I had the exact same issue as @TeniSoftTechnologies. Adding only |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First off, great job on the work you've done with version 2 — it's clear there's been a lot of effort and thought put into it. That said, I did run into a few challenges while integrating it. The documentation feels a bit sparse and could really benefit from clearer examples with code to help guide implementation.
Specifically, I'm loading an image sized at 1200px by 1540px into a container that's scaled down to 120px by 154px. However, the cropper appears to still operate based on the original image dimensions (1200px x 1540px), which results in most of the image being out of view within the container. It would be helpful if the cropper could better adapt to the scaled dimensions or if there were clearer guidance on how to handle this scenario.
The image is in a container like this
`html
Lastly, when a template isn't set, the image fails to display entirely.
Beta Was this translation helpful? Give feedback.
All reactions