Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for picture field in registration forms #5922

Merged
merged 21 commits into from Jan 18, 2024

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 marked this pull request as draft September 13, 2023 10:04
@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 3 times, most recently from b89a538 to 80a090e Compare November 1, 2023 17: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

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 merged commit 9bdec6c into indico:master Jan 18, 2024
14 checks passed
@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.

None yet

3 participants