Skip to content

Conversation

@SegiNyn
Copy link
Contributor

@SegiNyn SegiNyn commented Sep 11, 2023

This PR adds Support for Picture Field in registration Forms.

It works similar to the SingleFileManager component, with the addition that it accepts only images, allows to display the uploaded image, allows to capture image from Camera and Crop image.

2 libraries were used:
https://www.npmjs.com/package/react-webcam and
https://www.npmjs.com/package/react-cropper

Screenshot 2023-09-11 at 16 04 08 Screenshot 2023-09-11 at 16 08 29

@SegiNyn SegiNyn force-pushed the regform-picture-field branch from e48803e to 657bd10 Compare September 11, 2023 16:00
@SegiNyn SegiNyn marked this pull request as draft September 13, 2023 10:04
@SegiNyn SegiNyn force-pushed the regform-picture-field branch from 657bd10 to f805106 Compare September 15, 2023 12:50
@SegiNyn SegiNyn marked this pull request as ready for review September 15, 2023 12:50
@SegiNyn SegiNyn force-pushed the regform-picture-field branch 3 times, most recently from 5311d0c to a0a95d1 Compare September 16, 2023 20:19
@SegiNyn SegiNyn force-pushed the regform-picture-field branch from a0a95d1 to 545f1bd Compare October 10, 2023 13:28
@SegiNyn SegiNyn force-pushed the regform-picture-field branch 3 times, most recently from b89a538 to 80a090e Compare November 1, 2023 17:10
@SegiNyn SegiNyn force-pushed the regform-picture-field branch from 80a090e to 96f9cb9 Compare November 10, 2023 13:48
@SegiNyn SegiNyn force-pushed the regform-picture-field branch from 82bdcf4 to 38e5bf5 Compare November 14, 2023 09:36
@SegiNyn SegiNyn force-pushed the regform-picture-field branch from 38e5bf5 to 62ca7f3 Compare November 28, 2023 10:10
@SegiNyn SegiNyn force-pushed the regform-picture-field branch 2 times, most recently from 78fe34a to 189d837 Compare January 9, 2024 13:46
@SegiNyn SegiNyn force-pushed the regform-picture-field branch from 189d837 to 17b14a0 Compare January 16, 2024 11:11
@SegiNyn

This comment was marked as resolved.

@ThiefMaster
Copy link
Member

image

The alignment of those buttons is rather weird

@ThiefMaster

This comment was marked as resolved.

@ThiefMaster
Copy link
Member

The first click on the "Rotate" button doesn't do anything

@ThiefMaster

This comment was marked as resolved.

@SegiNyn

This comment was marked as resolved.

@ThiefMaster

This comment was marked as resolved.

@ThiefMaster ThiefMaster force-pushed the regform-picture-field branch from 1f83d17 to 1d12300 Compare January 18, 2024 09:26
@ThiefMaster ThiefMaster merged commit 9bdec6c into indico:master Jan 18, 2024
@ThiefMaster ThiefMaster deleted the regform-picture-field branch January 18, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants