Tuesday, September 13, 2011

Auto Change Picture on website?

Can anyone tell me a programme or how exactly to have my photo's on my home page auto change, like they do on this site I have found http://www.fostersevents.co.uk/ thanks in advance for your help.Auto Change Picture on website?
You can use flash or JavaScript;



If you look at the source the top banner is Flash, for the rotating pictures they used JavaScript from Anfy http://www.anfyteam.com/anj/index.html, specifically

http://www.anfyteam.com/anj/cfade/anfadeAuto Change Picture on website?
The easy way will be to generate nandom numbers, and name your images as numbers..



So you do this



$imageno = (random number)



then you display echo ' . $imageno. '.jpg' ;



this just the concept, you will have to write the actual code.



good luck
If you look at the source code you can see that it was created using flash. There might be free software out there that will allow you to create similar effects for your pics. I've seen stuff like it on MySpace. You could also create a movie using these effects and then post that.
Probably a Java Applet or perhaps Javascript. No way that is all designed in a graphics program. It is a series of images that are loaded and effects applied to them on the fly.
Hi that is designed my designer tools like photoshop,flash etc,. Try it out.
Try going to a site like javascript botique, Javascript source or Javascript.com and look for scripts that deal with random Images. You can find instructions on these sites to set up the array, size and save your pictures and how to call the code where you want it to appear.



Good luck.

No comments:

Post a Comment