• 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/user

    Is 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

    • This topic was modified 4 years, 8 months ago by David Bee.
    • This topic was modified 4 years, 8 months ago by David Bee.
    • This topic was modified 4 years, 8 months ago by David Bee.
Viewing 1 replies (of 1 total)
  • Plugin Author joppuyo

    (@joppuyo)

    Hey David

    I checked your video and it looks like just how it should work.

    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?

    I agree this doesn’t look good. I’ll definitely look into fixing this problem.

    – 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?

    Unfortunately, this is not possible with the current version of this plugin.

    – (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:

    I have gotten a few feature requests about this issue. Right now you cannot use this the cropper with the basic uploader. The only way to use it is to assign “upload_files” capability to the user that allows them to use the media gallery.

    Unfortunately, I don’t use ACF forms and that’s why this plugin is created with wp admin users in mind. I just added an entry into the plugin FAQ about this so people don’t expect this plugin to work with this use case right now.

    I hope to add better compatibility with ACF forms in a future release of this plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Is this flow correct?’ is closed to new replies.