upload an image that is 'rotated'
the width and height of the image should be according how the image is displayed
the width and height are not correct as you can see in the attached screen capture: the image is portrait but according to the width / height it is landscape which is not correct.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
I understand, and that is why the width and height are incorrect. So IMO it should be orientation aware and set the correct width / height for the image, or not give the (wrong) width / height at all, or come with a disclosure that width and height are not to be used as they can be wrong.
Having the wrong values defeats the purpose of these values. And I understand that this is a limited 'use case' where people upload images taken with their mobile etc.
As php is not aware of the orientation how do you propose to make it aware here
Exif
Labels |
Added:
Feature
|
PHP side is not aware of orientation:
joomla-cms/plugins/filesystem/local/src/Adapter/LocalAdapter.php
Lines 410 to 412 in 6bcc444