vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I disable images from auto-rotating? This problem is on this forum too. (https://vborg.vbsupport.ru/showthread.php?t=314587)

kh99 02-25-2015 09:57 AM

1 Attachment(s)
Hmm...I'm not sure what that means. Anyway, I have a new version. It turns out that this mod works on vb3 so I was able to try it on our (linux) server, and there was a problem, which I hope has been fixed now, so, when you get a chance try this version.

Bill Stuntz 02-25-2015 03:39 PM

1 Attachment(s)
That last post's captures were right-click "View Image Info" in FF.
These 3 screen captures are "Inspect Element" in FF, Chrome, & IE after installing new version.
IE, all sideways, FF & Chrome thumb&lightbox sideways + full upright.

kh99 02-25-2015 04:04 PM

Is that the results using the latest? Or are you explaining your previous post?

Bill Stuntz 02-25-2015 04:07 PM

Both. I wonder if there might be a cache problem and the new install hasn't "taken" yet???

kh99 02-25-2015 04:10 PM

Oh, I see now. I don't know what confused me before. Anyway, looks like that means it's still not working for you. I started out his morning meaning to put in debugging messages, but when I found that problem I thought maybe we'd get lucky. Hopefully we'll get this working and it will fix the other issue.

kh99 02-25-2015 04:27 PM

Quote:

Originally Posted by Bill Stuntz (Post 2538748)
Both. I wonder if there might be a cache problem and the new install hasn't "taken" yet???

Are you testing with new posts, uploading the attachments (even if they're the same images you used before)? If you're uploaidng them then it should happen right away, unless it's failing for some reason.

Would you happen to know which version of IM you have? On our server I found identify and convert installed in /usr/bin, but it turned out they didn't know about the -auto-orient option. I don't know which version they are but I assume it's old.

Bill Stuntz 02-25-2015 04:53 PM

I'm re-uploading the original photo each time, and then viewing the new post in various browsers. It's small, and I know it displays wrong every time in every browser.

CP under "Image Settings" says ImageMagick 6, but I suspect that text is built into vB. As I said, I'm new at this. How can I find out the REAL version of IM? When I download the stored image from the MB, it comes back identical to the copy I uploaded, probably because IM didn't have to resize it. Zachery said the original jpg would be stored if it's already small enough, so that didn't surprise me.

kh99 02-25-2015 05:12 PM

I think if you can run one of the programs from the command line (with no arguments) it prints the version at the top. But I just did that on our server and found that it was version 6.2.something and it didn't know what -auto-orient was, so I guess it was something added recently. So I'm guessing that's the problem you're having. But maybe what I can do instead is read the orientation and give it an explict rotate command, because I'm pretty sure that's all that's happening anyway.

Anyway, if you do have the ability to run from a command line, you can do something like convert -auto-orient img.jpg img2.jpg and see if it complains about the -auto-orient. I'm not sure if the 'img.jpg' file really has to exist, but if it does you can probably use 'touch' to create it because you don't care about the result, only about whether or not it recognizes the option.

Bill Stuntz 02-25-2015 05:26 PM

I don't have access to the command line, just the MB. I've asked our head admin about the version number.

kh99 02-25-2015 05:31 PM

I could be wrong about that anyway. I looked at the IM change log and I see mention of -auto-orient from version 6.3 back in 2007, so I guess we have a very old version, but you may not.

Anyway, I'll go back to the debugging idea.

I guess we should be PMing instead of bothering everyone with this. :)


All times are GMT. The time now is 11:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01607 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete