Hello again.
I registered in your demo and the problem is the same there. The image does not correspond to the area that I selected when loading the avatar from my phone. And the image is not square. Username: great
Screenshot of the problem with my profile avatar in your demo: https://ibb.co/xSwRr8y
Sorry for the many messages. It is very important for me to solve this problem as soon as possible.
Thanks
Hi @brening
Does this issue occur with a default WP theme such as 2020 or 2021?
Regards,
This is my own WP theme. But the problem is also relevant on your demo.
Hi @brening
Do you have extension licenses? Could you please create a ticket on our website so we can take a closer look at this issue?
https://ultimatemember.com/support/ticket/
Regards,
I’m a free user of Ultimate Member.
Hi @brening
Could you please tell us what mobile operating system( iOS or Android ) do you test with this issue?
Regards,
iOS, but yesterday I tested on the computer and sometimes this problem repeats on the computer.
I downloaded the image on the computer. The image is cropped incorrectly:
https://ibb.co/WH49Kfq
https://ibb.co/k3mfnPL
Hi! I tested a little and it seems to me that the problem is in the $image->crop() method in the function stream_photo(); Maybe this will help you and me.
Hi @brening
I couldn’t reproduce the issue with the crop.
Could you please check and confirm if this issue occurs with the 2020 or 2021 theme on your end? Our demo site is still behind the latest version. We will update it in the next couple of weeks. Also, what’s the version of UM you’re using on your site that has this issue?
Regards,
I’m having problems with these two photos:
https://postimg.cc/VJ11mBw3
https://postimg.cc/WdXRVBXk
These are ordinary photos on an iPhone.
I’m using the version of UM 2.1.21.
I found out that for images with a size of 3024*4032, the wp_get_image_editor function confuses the height and width. Therefore, the crop method then incorrectly selects the area. But I didn’t find a regularity when exactly the function wp_get_image_editor confuses height and width. That’s why I still need help.
Hi!
The problem is in the photos taken on the iPhone. The getimagesize function and the get_size method of the WP_Image_Editor class confuse height and width. Although if you upload the same photo to the WP admin panel and crop it there, everything works. What does WordPress do with a photo that a plugin doesn’t do?