Page 1 of 1

montaage image size and monitors

Posted: Fri Oct 07, 2005 5:39 pm
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

Posted: Fri Oct 07, 2005 6:59 pm
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

Posted: Sun Oct 09, 2005 11:54 am
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

Posted: Sun Oct 09, 2005 2:36 pm
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

Posted: Mon Oct 10, 2005 9:10 pm
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]

Posted: Mon Oct 10, 2005 9:18 pm
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?

Posted: Mon Oct 10, 2005 10:10 pm
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

Posted: Mon Oct 10, 2005 10:32 pm
by jameswilson
no never got this excited at christmas.

Posted: Tue Oct 11, 2005 12:42 am
by cordel
Image

Sorry had to do it ;)

Cordel

Posted: Tue Oct 11, 2005 7:21 pm
by cordel
James you know I only do it outa love, right?
Image

Posted: Tue Oct 11, 2005 7:34 pm
by jameswilson
Corey, did you have a happy childhood??

Posted: Tue Oct 11, 2005 7:37 pm
by cordel
We don't want to go there! I had my issues just like many others ;)

Posted: Tue Oct 11, 2005 8:08 pm
by jameswilson
i wish i could find a relevant smiley now lol

James