-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
toolbar for EssencePicture editor has several issues #2135
Comments
This is not a bug, but a feature. See: https://github.com/AlchemyCMS/alchemy_cms/blob/main/app/models/alchemy/essence_picture.rb#L134-L140 Without the image being assigned there is nothing to crop. Also we check if the image is large enough to be cropped at all. The latter is controversial, though.
Should be easily fixed. PRs welcome |
In the steps to reproduce the issue I missed the part of assigning the image, sorry! It probably was an issue with the image size, as you said. I can not reproduce it anymore using a large image. I'll update the issue. It leaves us only with the icon link problem. |
This issue has not seen any activity in a long time. |
This issue has not seen any activity in a long time. |
I spotted several issues when using the icon-links in the EssencePicture editor toolbar. I don't want to flood the issues list even more by adding multiple tickets for each of those issues as they might have become buggy due to the same code changes / PR.
Steps to reproduce
crop: true
andlinkable: false
Expected behavior
The icon link for the image cropper should be visually "activated" and it should be functionally clickableWhen opening the overlay for picture properties saving should not return an error.Fixed by Image cropper destroy #2139Actual behavior
The icon link for the image cropper is visually deactivated and is not clickable.When opening the overlay for picture properties, saving leads toFixed by Image cropper destroy #2139parsererror
(a quick bug hunt led me to theAlchemy.ImageCropper.destroy()
causing this, called fromessence_pictures/update.js.erb
).System configuration
main
branchThe text was updated successfully, but these errors were encountered: