I noticed this while working on tests for DX:
IF a DX-based image type (e.g. Image from p.a.contentypes) has cropped scales
AND the image item is edited through the edit form, replacing the old image
THEN the cropped scales still contain the former image (in cropped version).
The test test_modify_context in test_cropping.py that checks this for AT mentions #21. This in turn mentions plone/plone.scale#3 and plone/plone.scale#4. So I'm not quite sure what the current status of development is, and whether plone.scale or p.a.imagecropping should take care of nuking the old cropping info when the image is replaced.
Example screen shot:

I noticed this while working on tests for DX:
IF a DX-based image type (e.g. Image from p.a.contentypes) has cropped scales
AND the image item is edited through the edit form, replacing the old image
THEN the cropped scales still contain the former image (in cropped version).
The test
test_modify_contextin test_cropping.py that checks this for AT mentions #21. This in turn mentions plone/plone.scale#3 and plone/plone.scale#4. So I'm not quite sure what the current status of development is, and whether plone.scale or p.a.imagecropping should take care of nuking the old cropping info when the image is replaced.Example screen shot:
