openfoodfacts/openfoodfacts-server

Upgrade from Cropper.js v1 to Cropper.js v2

Open

#11,874 建立於 2025年5月9日

在 GitHub 查看
 (6 留言) (0 反應) (1 負責人)Perl (477 star) (236 fork)batch import
good first issuehelp wanted

描述

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.

貢獻者指南