openfoodfacts/openfoodfacts-server
View on GitHubUpgrade from Cropper.js v1 to Cropper.js v2
Open
#11,874 opened on May 9, 2025
good first issuehelp wanted
Description
Description
Product Opener currently uses jquery-cropper in the UI to enable users to select and rotate parts of an image, for example to crop a larger picture to a nutrition table. Cropper.js v2 is not compatible with jquery-cropper, so we need replace the jquery wrapper to upgrade from Cropper.js v1 to Cropper.js v2.
Acceptance criteria
Image cropping works the same as with Cropper.js v1.