montaage image size and monitors

Support and queries relating to all previous versions of ZoneMinder
Locked
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

montaage image size and monitors

Post by jameswilson »

On an unrelated issue i have been looking at zm_html_view_montage.php and have questions/ideas.

In the line $frame_height and width i assume this could be edited to read anything. as it picks this value from what is set in options i assume it could be hard written here and it would follow that rule. What im wondering is can i add like a tool bar to the top of montage (or bottom) with different functions.
A 'quad button' that i assume would set the height/width at 320x240 and display 4 cameras
A drop down box with a start quad at monitor number choice, so that if you selected 1 it would show first 4 in quad, you selected 3 it would show 2,3,4 and 5 etc etc.
A funny one that allowed a fixed 10 in the following fasion

----------------------------------
!...................!....................!
!...................!....................!
!...................!....................!
!...................!....................!
----------------------------------
!........!..........!..........!.........!
!........!..........!..........!.........!
----------------------------------
!........!..........!..........!.........!
!........!..........!..........!.........!
----------------------------------

(phew)

Again drop down box to select 1st monitor as in 1 and 2 are the biggest

A multisplit do do exactly what montage does now.

And if possible a way os selecting image size from radio buttons/dropdown box etc

eg small 80/60 say
med 160/120
large 320/240

Any thoughts?

Im thinking i cant do this but im sure i could create multiple different pages that did this using phils as start point but how do add hyperlinks or buttons to the existing montage page. and how do i close the current split view as i dont want to open 5 different splits on one machine or ill fry my server.

James
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i have tried and am well out my depth. I have created a html page but i cant alter the sizes of the image. I was thinking about creating shortcuts on the desktop that would load the different views after login but if i do this they wont stream only stills. I then thought about using cgi's as a way to display multiple images in one window and this worked i can set a scale too, change the 100 to whatever i want and they size accordingly, but they stay located where they were and i can move them over but then the frame borders are visible. I think this one will take me a while lol

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

Post by zoneminder »

I think what you are really looking for is a templatised montage type of feature as everyone seems to want the montages to look different. Where you can design the layout and ZM will insert the information. This is something I will have a look at.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

ok thanks phil. Are you thinking of uploading like a mask or something? I was just gonna try and create my own montage pages cos on the same site they may want like 5 different views. is it possible to use somet ng like frontpage to create different views and type in the sources etc. that way we could have any view at all we wanted and just use icons or shortcuts to them from the client machine.

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

Post by zoneminder »

What I'm thinking of is using something like Smarty (http://smarty.php.net/) to allow you to create your own pages in FP or whatever and just tag them with a small and limited number of basic tags. These tags will be replaced by ZM with the real sources of images etc. So you could create a page with a table in thus

Code: Select all

<table>
<tr>
<td>{$CAMIMG1}</td>
<td>{$CAMIMG2}</td>
<td>{$CAMIMG3}</td>
</tr>
</table>
which would just be a page with three camera streams across. ZM would decide what cameras to show based on user access etc and all you have to do is design your layouts.

It's not super basic but it might be a lot easier than currently, though invariably will be a little more limited in how sophisticated the interface can be.

Phil
[/code]
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

sounds perfect Phil. We can make it look exactly how we like. Can we have different sized images on this and maybe feeds from different boxes?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Calm down :D I'll try and make it as configurable as possible bearing in mind I only thought of it yesterday.

What were you like as a kid as Christmas?

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

no never got this excited at christmas.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Image

Sorry had to do it ;)

Cordel
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

James you know I only do it outa love, right?
Image
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Corey, did you have a happy childhood??
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

We don't want to go there! I had my issues just like many others ;)
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i wish i could find a relevant smiley now lol

James
Locked