I am building a membership site. Members need to upload a photo of themselves. I have the CRED form working. Is there a way I can add a crop feature to the image so the user can crop their photo before uploading it?
Hello, unfortunately there is no cropping feature available for image uploads in Forms. We typically recommend you prompt Users to upload images at a specific size or ratio. We have a validation API available for verifying image dimensions when the Media Library is not used for media uploads:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate
Some Users have implemented the WordPress Media Library for uploads, which includes a built-in cropping feature:
https://toolset.com/documentation/user-guides/using-the-native-wordpress-media-manager-in-front-end-forms/
Other Users have resorted to custom programming to create a similar feature because of security issues displaying the Media Library to their site visitors. See this other ticket for an example:
https://toolset.com/forums/topic/imaging-cropping-prior-to-submitting-form/