Skip Navigation

[Resolved] how can i let the members crop their image before upload.

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 3 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#1954595

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?

#1954805

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/