Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Client Scripting
Expertise: Beginner
Oct 22, 1999

Rotate an Image

Question:
I'm creating a drag and drop program to design kitchens. How can I rotate a single picture using JavaScript?

Answer:
You can't rotate an image using JavaScript. JavaScript doesn't have any image manipulation functionality whatsoever. You really only have two options. You can use a Java applet or an ActiveX control on your page to manipulate your image on the client-side in the browser. On the other hand, if you'd prefer, you can do all of you image rotating on the server (using Perl, ASP, and so forth) and then just send the plain (but rotated) images to the browser to be displayed.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date