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.

贡献者指南