How to change Event Navigator preview size

Support and queries relating to all previous versions of ZoneMinder
Locked
nelsda
Posts: 11
Joined: Mon Feb 12, 2007 5:18 am
Location: Kelso, WA, USA

How to change Event Navigator preview size

Post by nelsda »

How can I change the size of the preview frame in the Event Navigator? It is set slightly smaller than the original picture so I can't read the date and time since some of the pixels are missing.

I'm running 1.22.3.

Thank you.

David
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There isn't a simple way to do it at present but if you edit zm_html_view_timeline.php and find the section

Code: Select all

$chart = array(
    "width"=>700,
    "height"=>460,
    "image" => array(
        "width"=>200,
        "height"=>200,
        "top_offset"=>20,
    ),
you can change the width and height in the 'image' part of the array. The images should be resized to fit though, but rescaling may obscure the timestamp somewhat.
Phil
nelsda
Posts: 11
Joined: Mon Feb 12, 2007 5:18 am
Location: Kelso, WA, USA

Post by nelsda »

Thank you. That is what I was looking for. Some time when the overlapping stuff buggs me enough I may play around with the other values to come up with a layout where it will all fit.
Locked