The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Quote:
Until a better solution is forthcoming this should allow the OP to do what was requested. |
Благодарность от: | ||
kh99 |
#22
|
|||
|
|||
Hello,
I know this thread is old and I didn't want to bring back to the top but I couldn't find anything else. This is for vb4 but will it work with vb3? |
#23
|
|||
|
|||
I forgot about this thread, but a while back I did this mod: https://vborg.vbsupport.ru/showthread.php?t=318291 which does what I mentioned above (rotates the image when uploading), but it only works if you have ImageMagick available (I think some shared hosts might have it available, even if you're currently using GD for other image processing). I believe it will work as is for vb3, even though I didn't release it under vb3.
Oh, the above (the one you asked about) won't work for vb3 beause it depends on the ckeditor in vb4. |
#24
|
|||
|
|||
Jquery click image to rotate:
Code:
var angle = 90; $('#rightwayup').on("click", function() { $(this).css({ '-webkit-transform': 'rotate(' + angle + 'deg)', '-moz-transform': 'rotate(' + angle + 'deg)', '-o-transform': 'rotate(' + angle + 'deg)', '-ms-transform': 'rotate(' + angle + 'deg)' }); angle += 90; }); Code:
<img id="rightwayup" src="http://i.imgur.com/3nTTzTd.png" alt="" /> Code:
#rightwayup { position:fixed; -webkit-transition: all .5s ease-out; -moz-transition: all .5s ease-out; -ms-transition: all .5s ease-out; -o-transition: all .5s ease-out; transition: all .5s ease-out; } jsfiddle demo |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|