I’ve been researching the ability to dynamically build an array of images that would display in a javascript player. The problem is in every solution I have found it isn’t dealing with the issue that new images are getting loaded every 1-4 seconds. Maybe I’m missing something. Here is the complete scenario:
1.
Let’s say I have a security camera mounted somewhere. I cannot stream video so the camera sending .jpgs every 10 milliseconds to a folder on my web server. Standard naming convention img_1.jpg, img_2.jpg and so on.
The user wants to view the images as they come in. We have a simple javascript player that cycles through the images and allows the user to pause and reverse. It’s very much like the view found here: [url]http://umbra.nascom.nasa.gov/eit/cme/19981015/cme_19981015_js.html
The problem is that I don’t want to refresh the page but the script builds a static array of images. I wrote a script on the server side that keeps track of the images being added to the folder. But html page is still static. Is there a way that the images the page is looking for can be dynamically updated? I’m sure I’m missing something here so your help and guidance is very much appreciated.
devyon122