Jump to content


Photo

Display an image


  • Please log in to reply
2 replies to this topic

#1 carole2

carole2
  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 25 September 2006 - 01:51 AM

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..

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 25 September 2006 - 02:16 AM

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.
Legend has it that reading the manual never killed anyone.
My site

#3 carole2

carole2
  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 25 September 2006 - 02:21 AM

Thanks ill use javascript...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users