Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #31  
Old 02-25-2015, 09:57 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Files
File Type: xml product-kh99_auto_orient_images.xml (5.8 KB, 11 views)
Reply With Quote
  #32  
Old 02-25-2015, 03:39 PM
Bill Stuntz Bill Stuntz is offline
 
Join Date: Feb 2015
Location: Columbus, OH
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Images
File Type: png 14-chrome-full.png (220.9 KB, 0 views)
File Type: jpg 14-ie-full.jpg (89.2 KB, 0 views)
File Type: jpg 14-ff-full.jpg (67.5 KB, 0 views)
Reply With Quote
  #33  
Old 02-25-2015, 04:04 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is that the results using the latest? Or are you explaining your previous post?
Reply With Quote
  #34  
Old 02-25-2015, 04:07 PM
Bill Stuntz Bill Stuntz is offline
 
Join Date: Feb 2015
Location: Columbus, OH
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Both. I wonder if there might be a cache problem and the new install hasn't "taken" yet???
Reply With Quote
  #35  
Old 02-25-2015, 04:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 02-25-2015, 04:27 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bill Stuntz View Post
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.
Reply With Quote
  #37  
Old 02-25-2015, 04:53 PM
Bill Stuntz Bill Stuntz is offline
 
Join Date: Feb 2015
Location: Columbus, OH
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 02-25-2015, 05:12 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #39  
Old 02-25-2015, 05:26 PM
Bill Stuntz Bill Stuntz is offline
 
Join Date: Feb 2015
Location: Columbus, OH
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have access to the command line, just the MB. I've asked our head admin about the version number.
Reply With Quote
  #40  
Old 02-25-2015, 05:31 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:19 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.04483 seconds
  • Memory Usage 2,269KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete