Osclass forums
Support forums => old => Topic started by: bodocvl on December 12, 2015, 01:38:07 am
-
Hi,
The function still missing lots of pictures made with some mobile devices. (samsung, some iphones, etc).
When you take a portrait pictures, the functions can't seems to know how to autorotate it as such because the picture is uploaded in landscape mode (flipped 90 degrees).
Can somebody take a look at open classifieds auto rotate function? They made this work (but the rest of the script is not nice at all).
Thanks
-
Some phones do not store image orientation data, and Osclass cannot do correction without it.
Blame it on manufacturer of the phone(s).
Regards,
dev101
-
Some phones do not store image orientation data, and Osclass cannot do correction without it.
Blame it on manufacturer of the phone(s).
Regards,
dev101
No, the photos does have exif orientation data, it's the function's fault.
On osclass it's not working, on open classifieds it's working.
Same photo, using imagick.
-
Sorry, it does not make any sense. Please upload your original image somewhere so I can test.
-
Sorry, it does not make any sense. Please upload your original image somewhere so I can test.
I PM-ed you the original picture.
-
Sorry, it does not make any sense. Please upload your original image somewhere so I can test.
I PM-ed you the original picture.
Another problem I see with GD for autoRotate function:
We have:
if(isset($this->_exif['Orientation'])) {
switch($this->_exif['Orientation']) {...
But there is no exif reading, so the functions seems to not know what to do with the picture.
exif_read_data is not called at all for GD
-
Im not a programmer however it seems to be very easy and simple to create a function that can flip and/or rotate any image and this can be done on user side while the user is uploading his images...does that make any sense to you guys?
-
it seem like this picture can rotation 180 degrees, it us JS and alot of classified websites has been update to this upload style
-
@ala yes that is what i was asking for.
Also if possible to reorder the images and change the primary image.
I dont know how nobody so far have been thinking on this.
-
Hi there,
Osclass 3.6.0 has been released and fixes the autorotate issues.
Preview and final uploaded images are rotated correctly, you still need exif support (http://php.net/manual/en/book.exif.php) or imagemagick php extension.
-
Hi
Still facing the autorotate problem:
Browsers: all
osclass: 3.6.1
Image lib php extension: imagemagic
Theme: zara 1.0.8
Would be nice to provide user with a rotate function in item_edit and item_post similar UI as for deleting an image. So it is possible to handle all kind of wrong exif information. Still better to enable for the user than post a "wrong" rotated image for some reasons.
Cheers,
Markus
-
If we upload photos from Apple phone, pictures automatically rotates on 90 degrees. Somebody have solution of this issue?
-
Having the same issue, any one found the solution?
-
Using last version of Osclass but still have this problem, any help guys?