• I am currently using ACF Image Crop for the profile photo.

    $img_url = get_field(‘profile_photo’);
    ” />

    When I change the type to Image Aspect Ratio Crop, I am getting empty url for all the existing pages.

    Could you please help me how

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Ranjith

    (@ranjithkh)

    ACF Image Crop stores the entry like below in postmeta table.
    {“original_image”:”30774″,”cropped_image”:30776}

    In Image Aspect Ratio Crop plugin it stores only cropped image id.

    Plugin Author joppuyo

    (@joppuyo)

    Hey.

    I just released a new version of the plugin, v2.2.0 which contains a backwards compatibility that allows you to migrate data from ACF Image Crop to ACF Image Aspect Ratio Crop.

    Could you download the latest version and test that it works for you?

    Thanks!

    Thread Starter Ranjith

    (@ranjithkh)

    Wow! That was quick. Works perfectly fine. Thank you very much for the wonderful plugin.

    Some observations:

    1. Will it be possible to link the cropped image to the post. Now under media library, the cropped image shows “unattached”.
    2. Reset crop button is bigger than the Cancel and CROP buttons. You can remove the icon on the Reset crop button and make all 3 buttons similar.
    3. Provide 10px bottom margin for all 3 buttons.
    4. When CROP button is clicked, there is some issue on allignment. To make it better, can you hide all 3 buttons on click and show cropping image text.

    Thread Starter Ranjith

    (@ranjithkh)

    I have found some more issues after using it.

    The 4th point I mentioned above is on the mobile phone.
    5. Image cropping does not work all the time. The same issue is found in ACF Image Crop plugin too. It adds some black strip at the end.
    6. It will be great to give an option to rotate the image.

    Plugin Author joppuyo

    (@joppuyo)

    Hey, glad you got it to work. Right now I’m pretty happy with the cropper design and I don’t have any plans to change it any time soon. For the reference, this is how it should look like: https://raw.githubusercontent.com/joppuyo/acf-image-aspect-ratio-crop/master/assets/images/screenshot-1.jpg

    If there is something off, please upload a screenshot so I can see if the issue can be fixed.

    About the black border, would it be possible for you to upload the image that is causing problems with black borders? I can then try to see what is causing the problem if I can replicate the problem in my local environment.

    For rotation, you can use the built-in WordPress editor: https://www.wpbeginner.com/beginners-guide/how-to-crop-rotate-scale-and-flip-images-in-wordpress/ . I’m not sure if it’s a good idea to add this straight to the cropper, as I don’t want to overload it with different options.

    Thread Starter Ranjith

    (@ranjithkh)

    Thank you for your reply.

    Style issue looks like another css is overriding the button style. Maybe you can use a unique name for the class.

    Desktop crop view:
    https://ibb.co/5Ks0B8J

    This is the cropped image. This is not always reproducible.
    https://ibb.co/SVYtQtM

    On mobile device:
    https://ibb.co/LYkggYY

    On cropping, crop button goes outside the screen
    https://ibb.co/LRnWyfH

    Hope you will look into this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Migrate from ACF Image Crop’ is closed to new replies.