Jump to content

Tilt an image


ZeroShade

Recommended Posts

I don't know too much about javascripts Math object but I think its about time to learn it. What I want to do is simply tilt an image so that it looks like a photo album picture... like 20 degrees to the left or right or something. Can anybody get me started?

Link to comment
Share on other sites

As far as I'm aware, it is not currently possible to rotate images in any of the X, Y, or Z dimensions using HTML, DOM, CSS, or Javascript. You'll either have to modify the image in a photo editor manually, write some fancy piece of server side scripting that modifies the image on the fly, use flash, or try looking into SVG (which isn't currently supported by all the browsers).

Link to comment
Share on other sites

As far as I'm aware, it is not currently possible to rotate images in any of the X, Y, or Z dimensions using HTML, DOM, CSS, or Javascript. You'll either have to modify the image in a photo editor manually, write some fancy piece of server side scripting that modifies the image on the fly, use flash, or try looking into SVG (which isn't currently supported by all the browsers).
Cool thanks.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...