Skip Navigation

[Gelöst] how can i let the members crop their image before upload.

This support ticket is created vor 3 Jahren, 9 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Christian Cox vor 3 Jahren, 9 Monaten.

Assistiert von: Christian Cox.

Author
Artikel
#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/