rotating image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sciguy77
Forum Newbie
Posts: 5
Joined: Sun Feb 15, 2009 5:47 pm

rotating image

Post by sciguy77 »

Hi,

Is it possible to make an image in a loop rotate clockwise slowly?


Thanks :)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: rotating image

Post by Christopher »

You could use GD or Image Magick to build multiple frames. Maybe newer browsers that support documents canvas can do it? Or Flash?
(#10850)
sciguy77
Forum Newbie
Posts: 5
Joined: Sun Feb 15, 2009 5:47 pm

Re: rotating image

Post by sciguy77 »

Is there any way to do it just by writing PHP code?


Thanks :)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: rotating image

Post by Benjamin »

You can use javascript. What have your searches turned up? :)
sciguy77
Forum Newbie
Posts: 5
Joined: Sun Feb 15, 2009 5:47 pm

Re: rotating image

Post by sciguy77 »

Really? Hmmm. I've been using JavaScript for a while, but I'm switching to PHP because most people have said that PHP is more dynamic.

After a quick search I found a page that said JavaScript can't do that. Is this wrong?

Thanks :)
sciguy77
Forum Newbie
Posts: 5
Joined: Sun Feb 15, 2009 5:47 pm

Re: rotating image

Post by sciguy77 »

Oh, and I am going to put it over a login, which is better done in PHP.
Post Reply