openfoodfacts/openfoodfacts-server

Upgrade from Cropper.js v1 to Cropper.js v2

Open

#11,874 opened on 2025年5月9日

GitHub で見る
 (6 comments) (0 reactions) (1 assignee)Perl (477 stars) (236 forks)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.

コントリビューターガイド