Jump to content

Archived

This topic is now archived and is closed to further replies.

carole2

Display an image

Recommended Posts

I would like to display and image for about 2 seconds... and then move to another image and display another image for 2 seconds... basically i want to know how i can quickly flash an image using php..  its for teaching a class...

thanks carole..

Share this post


Link to post
Share on other sites
It's more complicated than that and less complicated than that.

php runs on your server and has no concept of time on your computer.  You might want to Google for javascript slide show as a simpler solution.

Caveat is that it takes time for an image to get from your server to your computer.  Depending on the speed of your connection, it may take more than two seconds for the image to arrive.

Possibly, your best solution is to use a simple javascript slide show and display it from your own computer - no downloading delays then, and a simple html file with js can do it all.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.