The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I disable images from auto-rotating? This problem is on this forum too.
Some of my forum members complain that their images look fine everywhere but once they upload to the forum then they rotate.
I tested this with one of their images and this happens. In my searches it appears that ImageMagick may be rotating these images based on exif info. How can I disable whatever is auto-rotating my member's images? Thanks in advance for assistance. |
#2
|
|||
|
|||
Do you have a plugin that has anything to do with images
|
#3
|
|||
|
|||
No additional plugins related to images are used at all. The forum uses ImageMagick on 4.22 pl1.
thanks. |
#4
|
||||
|
||||
What do you mean by rotating?
|
#5
|
|||
|
|||
Certain images apparently has EXIF info in them that when uploaded to the forum they are auto-rotated 90 degrees counter-clockwise.
These appear to be images taken on an Iphone in landscape mode (at least what I have tested) where the image looks perfect on a computer. It can upload to social media sites without problem. But when the member uploads, it goes from looking correctly to rotate 90 degrees counter-clockwise I have uploaded the original image and a screenshot of what happens when the members/I upload. /// This forum does the SAME thing! The original image looks perfect on the computer before uploading. Keep in mind that most uploads are fine. It is only certain images.... |
#6
|
|||
|
|||
I just noticed the thumbnail on THIS forum rotates it just like on my forum. Then when you click on it you can see the way it should be. Notice that this forum only rotated one of the two.
Quote:
--------------- Added [DATE]1412097660[/DATE] at [TIME]1412097660[/TIME] --------------- Does everyone see the problem here? Is this a bug in Vbulletin since it is happening even here? The thumbnail is shown in one orientation, then the actual image is shown correctly if you click on the thumbnail. |
#7
|
|||
|
|||
Actually, I think you're looking at the problem BACKWARDS. The exif data says Landscape even for Portrait photos, with an orientation tag telling the computer to rotate it to portrait when it's displayed. ImageMagick seems to ignore that orientation tag, and the OTHER programs obey it. I found this, but haven't figured out how to actually DO it in vB. If anyone can help, I'd appreciate it. I think it's just an option that needs to be specified as ImageMagick is executed to process the photo.
Quote:
Here's a link demonstrating OUR problem: http://mb.nawcc.org/showthread.php?1...938#post936938 |
#8
|
|||
|
|||
This is acknowledged as a bug in the vbulletin.com bug tracking system. People have to vote it up before they will consider fixing it. I do not recall the name of the problem. This is a problem that most forum owners do not know is a problem. I believe it is a problem for all vbulletin forums (at least ver. 4x.x).
This is more of an issue on forums that have images that originated from mobile devices. To my knowledge there is no fix. Quote:
|
#9
|
|||
|
|||
Yeah, I know. And our site is VERY dependent on images. It's a PITA to have to manually correct iPhone & pro grade camera photos.
That "-auto-orient" trick might work, but I don't know enough to actually try it. And the upside-down photos when they rotate the camera the "wrong" way are especially annoying. |
#10
|
|||
|
|||
Hmm...I downloaded the example that was posted above, and I notice that the orientation varies a lot. I'm working on a Windows system, and I find that the image looks right in browsers and in an image processing program called Gimp (which actually offered to rotate it when I opened it), but it looks sideways in the other Windows image viewers that I tried. My understanding of the problem is that Apple decided to leave images un-rotated and put orientation info in the EXIF data, but not every program respects that.
So it seems like there would be two ways to handle it: either rotate the resized images so that they're right side up, or else transfer the EXIF data to the resized images, so at least they'll look the same as the original. Bill, did you try adding the -auto-orient to the code like I mentioned on vbulletin.com? I think it might only work for thumbnails, but at least we'd know if it worked at all. I'll try it myself but I don't have ImageMagick set up yet, and I'm not sure I'll be able to get it to work on my test system I have installed on my Windows machine. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|