Skip to content

Update Croppie with our fix for more smooth zooming#1

Open
s0ber wants to merge 75 commits intos0ber:masterfrom
starcling:improve-exif
Open

Update Croppie with our fix for more smooth zooming#1
s0ber wants to merge 75 commits intos0ber:masterfrom
starcling:improve-exif

Conversation

@s0ber
Copy link
Copy Markdown
Owner

@s0ber s0ber commented Feb 20, 2026

No description provided.

alsmpd and others added 30 commits September 22, 2017 13:06
Changes
- Adds aria label to input range
- Adds alt to images
- Adds aria-hidden to hidden image
- Add aria grabbed and drop to draggable image
- Adds label to input
- Adds label to input
Set correct value for accessibility attribute when rotate picture
Accessibility
* ISSUE-397: Fix wrong imgData after zomming out.

* 2.5.1

* Revert "2.5.1"

This reverts commit f98da61

* Revert croppie.min.js to version 2.5.0 state

* Add imgData to declaration block.
I some situations the result image is scaled out of ratio!
I tagged  down the problem to:
Math.min(width, self._originalImageWidth)
I don't know why its needed ... but if i removed it its working ok!
I added my vuejs croppie version too. :)
nolimits4web and others added 29 commits February 21, 2018 08:17
This typo makes it unusable in strict mode because it doesn't allow to create global variables in this way, and i believe you didn't want it too https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#Converting_mistakes_into_errors
* Linting - avoid type coercion

* Linting - remove unncessary semi colons

* Fix issue with enforceBoundary = false

Whenvever enforceBoundary is set to false, the image cannot get smaller the original image size. Adding conditional that will skip this check if enforceBoundary = false
…ek#499)

EXIF orientation data got ignored because of commit 018d30c
(which fixed displaying image when exif-js is not available).

This only happens when 'enableOrientation' is true and you do
not pass an orientation to 'bind'. This is for example the case
when you want to add a button to rotate the image.

You can reproduce this issue in the demo 'upload-demo' when you
set 'enableOrientation' to true.
* fix _onZoom called twice when rotate

* keep center point after rotate
The `bind` method returns a promise which mainly awaits loading the
image URL. If an error happened within the image loader, then the `bind`
method would simply log it to the console and the caller's promise
handling would continue as if everything was fine. In addition, network
issues or otherwise errors in the browser's loading of the image was not
caught and propagated back up to the `bind` method.

This implements a simple `onerror` handler for loading the image which
rejects the loading promise. The `catch` handler in the `bind` method
which swallowed any rejections have also been removed, which enables the
caller to handle this properly on their side.
* Foliotek#479, Foliotek#470 - fix global definition

* Fix AMD and CommonJS definition
…k#592)

This change-set ensures Croppie does not attempt to use image data outside of an image’s bounds. This also ensures that the destination x/y and width/height are scaled appropriately so the image is placed where one would expect.
Fixes an issue with variables not being assigned.

The issue has come from Foliotek#592
Added a minor check to alert user that they loaded Croppie without an image.
…them during initialization to prevent breaking NodeJS by just being required/imported (Foliotek#657)
@s0ber s0ber self-assigned this Feb 20, 2026
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.