Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initialLeft / Top to set initial crop region #266

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DangerD256
Copy link

Needed for recropping image is user wants to redo crop.

Copy link

@angekouf angekouf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#Pretty good suggestion and I already downloaded for myself but you removed the crop button...
Also it would be better if the user could also set a precropped image to load at init.

@DangerD256 I made a pull request with my changes at your fork.

Fixing the removed crop button in your versiin... Also allowing the user to set a precropped image to load at init
croppic.js Outdated
@@ -401,7 +408,7 @@
var cropControlZoomMuchOut = '';
var cropControlRotateLeft = '';
var cropControlRotateRight = '';
var cropControlCrop = '<i class="cropControlCrop"></i>';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By emptying the string the crop button is no longer initialized...

Fixing missing crop button and allow the user to set a precropped image
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.

2 participants