We help IT Professionals succeed at work.

Refreshing images

itssbell
itssbell asked
on
Medium Priority
200 Views
Last Modified: 2013-12-25
I have a quick camara attached to my computer, which takes a picture every 30 seconds, and saves it to my server over the old picture. How do i get the image to be refresehed automatically so that the it changes on screen, without the user reloading the page ??

Thanks

itssbell
Comment
Watch Question

Commented:
You can refresh that page, or send the browser somewhere else by using the Meta tage below:

<head>  
<title>page's title</title>
<meta http-equiv="refresh" content= "30; URL=file.html">
</head>

In the example the refresh is set for 30 seconds.  The file the browser will be sent to is "file.html".  Just use the current file's name to refresh itself.

This tag should be inside the head of the document (next to the title).

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
it works !
If, as you said, you don't want to refresh the page, you can have a time-delayed slide show of the same-named images every 30 seconds.

Check out this guys javascript submission:

http://www.bloke.com/javascript/Flipper/

Cheers...
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.