Page 1 of 1

Transparency patch

Posted: Wed Apr 23, 2008 8:40 am
by Kushnirenko
There is a very simple patch which is useful when you run camera not on 3:4 aspect ratio (We use 768x288 to get rid of interlacing). I think images clearly show the difference. This patch does not change appearance of 3:4 aspect ratio pictures which are ordinarily used.

Before and after patch
Image

Code: Select all

*** zoneminder.orig/zm_html_view_timeline.php   2008-03-03 22:47:54.000000000 +0300
--- zoneminder/zm_html_view_timeline.php        2008-04-03 15:37:49.000000000 +0400
***************
*** 927,936 ****
        padding: 0px;
        margin: auto;
        color: #016A9D;
        font-size: 11px;
        font-weight: bold;
        line-height: 14px;
!       background-color: #f8f8f8;
  }
  #ChartBox #TopPanel #Key {
        position: absolute;
--- 927,937 ----
        padding: 0px;
        margin: auto;
        color: #016A9D;
+       color: #66f;
        font-size: 11px;
        font-weight: bold;
        line-height: 14px;
!       background-color: transparent;
  }
  #ChartBox #TopPanel #Key {
        position: absolute;