View from Caedmon Hall onto the Acre

The image should refresh itself automatically. If it does not appear, then reload the page.

Tuesday, May 26, 2009

New Script Version

The PHP script for sending out the captured image on request has been modified:
  • The maximum sent image dimensions have been increased from 640x480 to 1280x1024. The previous version only sent 640x480, even if the originally captured image would have been larger.

  • The refresh time has now been changed from a fixed value of 60 seconds to a variable value. The value depends on the time since the most recent image was captured and is set to twice the time difference between now and the file date of that image. A limiter sets the range of this refresh time result from 5 seconds to 10 minutes, to avoid either too rapid refresh or too long delays. This will now enable the distribution of image capture to be adapted automatically to the speed of the actual image capture. To show the currently used refresh rate, the caption text line has been amended.

  • The size of the output image is now limited to the actual captured image size.


All these measures are seamless, because the next image refresh through the IFRAME will refresh the whole script, so that these new features are immediately available for anyone who has implemented the IFRAME image capture on their web site.

No comments: