vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Rotate Photos (https://vborg.vbsupport.ru/showthread.php?t=303428)

kh99 10-22-2013 04:16 PM

It should hold the setting, so apparently it's bailing out at some point.

If you want you could try going to the admincp, and at or near the bottom of the list there should be a "kh99 Rotate Attachment" setting page. There you can turn on debugging and specify a file to write the messages to. It has to be a writable directory. If your server is set up so that the web server process can write to the forum directories then you can just put a file name, otherwise you'll need a path to somewhere with write permission.

Do you know if you have GD configured? You can go to Maintenance > View PHP Info and see if it's listed in the configuration (there'll be a section with GD at the top, for me it's between ftp and gettext).

kh99 10-22-2013 04:19 PM

...also, do you know which version of vbulletin and php you're running?

FBRN_Andrew 10-22-2013 04:46 PM

PHP 5.3.26
VBulletin 4.2.2
I made a directory set it to 755 and a file also 755 and nothing's going in the file.
I'm _not_ much of a coder, or web guy, so I'm not sure I did it correctly.
I'm more than willing to work on testing but it might be easier to PM me instructions and we can post what's needed without me fumbling around or possibly confusing things on the forum.

--------------- Added [DATE]1382464151[/DATE] at [TIME]1382464151[/TIME] ---------------

GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.2
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.44
WBMP Support enabled
XBM Support enabled

jjohns12 12-06-2013 05:52 PM

I have been looking for a mod like you are making and i am using imagemagic please add support for that.

Thanks

kh99 12-06-2013 10:30 PM

I'll try to do that. I actually have a version of this mod that works for me (using GD), but FBRN_Andrew who volunteered to test it for me couldn't get it to work at all on his server, so it's been on hold.

tbworld 12-07-2013 05:41 AM

Quote:

Originally Posted by kh99 (Post 2466423)
I'll try to do that. I actually have a version of this mod that works for me (using GD), but FBRN_Andrew who volunteered to test it for me couldn't get it to work at all on his server, so it's been on hold.

@KH99, I will give it a whirl if you would like. I think this would be used by many of the users if we worked out the kinks, if there is any. :)

kh99 12-07-2013 10:49 AM

1 Attachment(s)
Quote:

Originally Posted by tbworld (Post 2466507)
@KH99, I will give it a whirl if you would like. I think this would be used by many of the users if we worked out the kinks, if there is any. :)

OK, I'm attaching the latest (still GD only). Instead of repeating the instructions I'll refer you to post #9 in this thread.

It takes some time to rotate an image and there's no feedback, so if you press "OK" in the dialog and it looks like it hangs, it may just be taking a long time (also read the "There are a couple of issues:.." paragraph in post #9).

tbworld 12-07-2013 10:58 AM

Thanks @Kh99, I am pretty sure I will figure it out. I already read through the thread prior to replying the first time. I dislike wasting your time or mine. :)

Let me get this running and if you want I have some image magic code that I created/altered on another project, that we could patch in to your code. Famous last words, now I will have to find it. :)

Big Al 12-07-2013 10:55 PM

Until you get it sorted you can load the images into Imageshack and rotate them easily.

Then you can use them however you wish. Re- post them using imageshack or copy and paste.

kh99 12-07-2013 11:19 PM

Yeah, but I think the original post mentioned that people post from phones so they don't want to go through all that, and moderators don't either. But that reminds me of something I thought of while doing this: I think pictures coming from phones sometimes contain information about the orientation, and the real problem is that it's being ignored (although I think I read that the latest IE will see it and rotate the image accordingly). So maybe a simpler mod might be when someone uploads a jpeg, look for the orientation tag and rotate the image if necessary.


All times are GMT. The time now is 11:10 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.01197 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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