Is this flow correct?
-
Hi!
I’m starting to wonder if this is the correct flow of elements:
1. Click Add Image button
2. In the Media Uploader, Switch to Upload Files tab
3. Uploaded desired photo
4. Select photo that we just uploaded (?)
5. Finally crop the photo
6. Confirm the crop
7. Wait for the cropped photo thumbnail to be updated within the repeater
8. Save post/userIs that correct? Would you be kind enough to watch this short screen recording and confirm that all of this looks right to you?
https://www.dropbox.com/s/kpq1ek7rmybswqj/Image%20Aspect%20Ratio%20Crop%20Field.mov?dl=0&lst=If all of that is right, then I have a few notes for consideration:
– As you can see with smaller images, the footer doesn’t fit the loading text and the buttons at the same time. Maybe the cropping modal should have a min-width?
– Is there a way to skip the WP Media Library tab altogether? Our users cannot have access to this. So being able to skip that step would be perfect. How can we achieve this?
– (Tieing into the above) In our case, we are using the front-end acf_form() function for users to update their profiles. Everything works like a charm. One of the ways I’ve found to skip the whole media library on the front-end is to pass'uploader' => 'basic',
as one of the form’s parameters which (as documented here: https://www.advancedcustomfields.com/resources/acf_form/) determines whether to use the WP uploader or a basic input for image and file fields. Defaults to ‘wp’ . Choices of ‘wp’ or ‘basic’. The great news is, with the basic uploader, the users never see the media tab or the uploader for that matter. Unfortunately, in this mode, ACF Image Aspect Ratio Crop doesn’t function. (Similarly to this issue: https://github.com/joppuyo/acf-image-aspect-ratio-crop/issues/11). Is this something you’re planning on adding?Thanks!
David
- The topic ‘Is this flow correct?’ is closed to new replies.