CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
JavaScript Jungle
Image rotation
lyleyboy
Permalink to comment
#
July 2009
Morning all,
I was wondering if anyone knows if it is possible to rotate an image about 15% or so using preferably JQuery but anything will do.
My goal is to use this so that the client can just upload the image without having to manipulate it first.
Thanks
apostrophe
Permalink to comment
#
July 2009
Something like this perhaps?
http://wilq32.googlepages.com/wilq32.rollimage222
lyleyboy
Permalink to comment
#
July 2009
Looks superb, thanks for that I'll give it a try.
Mr KiTT3N
Permalink to comment
#
July 2009
just fyi, that wont work in IE and alotta older browsers
Its using the canvas element to do that... id start looking for php scripts that create the rotated image server side
Add a Comment
I was wondering if anyone knows if it is possible to rotate an image about 15% or so using preferably JQuery but anything will do.
My goal is to use this so that the client can just upload the image without having to manipulate it first.
Thanks
http://wilq32.googlepages.com/wilq32.rollimage222
Its using the canvas element to do that... id start looking for php scripts that create the rotated image server side