Page 1 of 1
rotating image
Posted: Sun Feb 15, 2009 5:49 pm
by sciguy77
Hi,
Is it possible to make an image in a loop rotate clockwise slowly?
Thanks

Re: rotating image
Posted: Sun Feb 15, 2009 6:24 pm
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?
Re: rotating image
Posted: Sun Feb 15, 2009 6:42 pm
by sciguy77
Is there any way to do it just by writing PHP code?
Thanks

Re: rotating image
Posted: Sun Feb 15, 2009 6:43 pm
by Benjamin
You can use javascript. What have your searches turned up?

Re: rotating image
Posted: Sun Feb 15, 2009 6:49 pm
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

Re: rotating image
Posted: Sun Feb 15, 2009 6:51 pm
by sciguy77
Oh, and I am going to put it over a login, which is better done in PHP.