Rotate images
Posted: Sun Oct 10, 2010 7:06 am
Hi,
There are 10 images in a folder called "Images".
All images are named like 1.jpg, 2.jpg, 3.gif, 4.png, and so on...
I am using these images on my website with this link: MyDomain.com/Images/1.jpg
Now what i want to do is change the image every minute.
from 1... to ...10 all images one by one, every minute...
Link should remain same, but it should give different image every time.
and if someone copies my link of image, it still gets changed every minute.
i hope to get some help, better with some example code...
Thanks!
There are 10 images in a folder called "Images".
All images are named like 1.jpg, 2.jpg, 3.gif, 4.png, and so on...
I am using these images on my website with this link: MyDomain.com/Images/1.jpg
Now what i want to do is change the image every minute.
from 1... to ...10 all images one by one, every minute...
Link should remain same, but it should give different image every time.
and if someone copies my link of image, it still gets changed every minute.
i hope to get some help, better with some example code...
Thanks!