-
Notifications
You must be signed in to change notification settings - Fork 23
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
Cropping informations are not cleared after an image change #156
Comments
Good point it would better, if this was reset. We have the events already, so it's probably not to hard to fix this. |
Are you talking about I have not searched if we have a useful event for images field changes. For now, in a customer project, we have uggly "generic" code working. It subscribes to
|
Since |
Would have been great to have an event there, to avoid having to parse all fields 😄 |
Steps to reproduce :
plone.app.imagecropping
cropping editorOf course if the cropped scale is shown on your content view, you can see the problem directly (and re-crop the image manually), but if it is not the case (ex: scales used elsewhere), you can get very awkward results !
We should IMHO use a subscriber to get changed image fields and clear the cropping annotation storage for that fields when this happens.
@petschki @MrTango what do you think ?
Demo with
plone.app.imagecropping
3.0.3 :20231025_032704937.mp4
The text was updated successfully, but these errors were encountered: