This worked out perfectly!  Thanks for the advice!  I wouldn't have
thought to use the empty ? parameter to force it to reload an image.
That is super clever.  Thanks James and Danny.

On Feb 12, 7:41 pm, Danny <d.wac...@prodigy.net> wrote:
> Changing the image source is the simplest "Ajax"y thing to do, just $
> ('#webcamimage').attr('src', 'http://example.com/cam.jpg'). If the
> filename is always the same, the browser will use the version of the
> image from cache, which is not what you want. Add a query string to
> change the filename:
>  $('#webcamimage').attr('src', 'http://example.com/cam.jpg?time='+Date
> ())
> Danny
> On Feb 12, 4:30 pm, James <james.gp....@gmail.com> wrote:
>
> > You can use Javascript's setInterval function to constantly do a check
> > to update an image source.
> > How does the filename look like? Is it predictable?
>
> > On Feb 12, 12:15 pm, lampshade <mwolff...@gmail.com> wrote:
>
> > > Hello,
>
> > > I was given a web cam to use, but unfortunately it pulls the image
> > > into a page via anapplet.  Theappletkills the page load time
> > > turning it into a 5-6 second wait.
>
> > > In addition to the Javaapplet, the camera will FTP an image to a
> > > single filename every X seconds.  I'm wondering if I can use that
> > > feature combined with JQuery and maybe JQuery Cycle Plugin to do
> > > something better than the Javaapplet?
>
> > > I'm just looking for general advice or ideas right now.
>
> > > Thanks in advance,

Reply via email to