brening
Forum Replies Created
-
I installed version 2.7.0 of the plugin, and the update worked for me.
Forum: Fixing WordPress
In reply to: Crop IssueEverything was solved with one line of code:
$image->maybe_exif_rotate();This function check if a JPEG image has EXIF Orientation tag and rotate it if needed.
Maybe it will help someone.Everything was solved with one line of code in the file class-uploader.php for the public function stream_photo :
$image->maybe_exif_rotate();This function check if a JPEG image has EXIF Orientation tag and rotate it if needed.
–
- This reply was modified 3 years, 3 months ago by brening.
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?Forum: Fixing WordPress
In reply to: Crop IssueI 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.
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.
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.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.
I downloaded the image on the computer. The image is cropped incorrectly:
https://ibb.co/WH49Kfq
https://ibb.co/k3mfnPLiOS, but yesterday I tested on the computer and sometimes this problem repeats on the computer.
I’m a free user of Ultimate Member.
This is my own WP theme. But the problem is also relevant on your demo.
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.
ThanksHello 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