fhumanes 1/18/2025 | |
Hello, The lost orientation problem when you set up phprunner reduces an image (whether miniature or not) has kept it until version 10.91. I think I remember that in version 11 I was going to solve it, but I have not proven it. The problem in the photographs of the phones is that it always makes them "horizontal" and through the properties of EXIF, defines the orientation. I have corrected it in my example of React, but it has been with all the reduction programming outside of what Phprunner does. Look at this article: https://stackoverflow.com/questions/16823808/php-get-image-exif-and-rotate-resize-image Just as guidance I pass the code that I have to convert the image. // handle single input with single file upload Greetings, |
1NET author 1/28/2025 | |
I must have not been clear with my issue. Orentation (Landscape / Portrait) i didn't think was the issue. Original Photo
After being uploaded into PHPRunner App
I'm not sure what / where / when the code you sent through is to be put / executed (before / after in events?) |
fhumanes 1/30/2025 | |
Hello, The code that I passed was for you to see how it is done, but it must be transformed to include it directly in Phprunner. I will make an example and publish it so that we all have access to the correct transformation of the images. Greetings, |
A
|
alfonsoDevClub member 1/30/2025 |
I have the same problem when I use large images in vertical format, that is, those that are taller than they are wide. In this case, it deforms the images if we select that option. Curiously, if only one image is uploaded (basic upload control) then it works correctly and does not deform it, but if we select the option for multiple images then it does deform them. |
fhumanes 2/1/2025 | |
Hello, I have already done and published an exercise that solves the problem described. If you find any problem or require any change, please tell me. Link to article: https://asprunner.com/forums/topic/30970-Guide-91--Reducing-images-while-maintaining-proportions Greetings, |