From 1f28c1b8618cacd8642a2b1e63c0d0ed41fbcfa5 Mon Sep 17 00:00:00 2001 From: stan Date: Fri, 20 Feb 2004 09:48:14 +0000 Subject: [PATCH] Added non-caching tail onto image retrieval. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@881 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm_html_view_montagefeed.php | 5 +++-- web/zm_html_view_watchfeed.php | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/zm_html_view_montagefeed.php b/web/zm_html_view_montagefeed.php index 062ebd387..9ca9fb284 100644 --- a/web/zm_html_view_montagefeed.php +++ b/web/zm_html_view_montagefeed.php @@ -75,8 +75,9 @@ function fetchImage() { window.parent.MontageFetch.location.reload( true ); - zm_image = new Image(); - zm_image.src = '.jpg'; + var now = new Date(); + var zm_image = new Image(); + zm_image.src = '.jpg?'+now.getTime(); document['zmImage'].src = zm_image.src; } diff --git a/web/zm_html_view_watchfeed.php b/web/zm_html_view_watchfeed.php index ef270b5aa..4ddcf1d23 100644 --- a/web/zm_html_view_watchfeed.php +++ b/web/zm_html_view_watchfeed.php @@ -72,8 +72,9 @@ function fetchImage() { window.parent.MonitorFetch.location.reload( true ); - zm_image = new Image(); - zm_image.src = '.jpg'; + var now = new Date(); + var zm_image = new Image(); + zm_image.src = '.jpg?'+now.getTime(); document['zmImage'].src = zm_image.src; }