Webpage Montage
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Webpage Montage
web page with static views
Hi all
Im looking to create a basic webpage like the montage view but with jpeg stills updated say every 10 secs.
Dont suppose one of you nice people can point me in the right direction, its for 32 monitors
James
Hi all
Im looking to create a basic webpage like the montage view but with jpeg stills updated say every 10 secs.
Dont suppose one of you nice people can point me in the right direction, its for 32 monitors
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Useful to know thanks but your right wont help me here lol
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
getting the jpgs isnt a problem i can get them from zms as jpegs. The issue is to have all those images refreshing every n seconds and actually laying them out
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi James,
You can either have them as a constant stream from zms but with the actual content only changing periodically or you will need to use Javascript and do a bit of double buffering which is the way that Montage works in stills mode. In other words you show an image, and then you fetch the next frame to a hidden image element and then swap them and repeat. That way you don't see the image loading. I can do a demo sort of thing if you would like me to.
Layout-wise, you have two main choices. Either use an html table of which ZM is littered or (my preference nowadays) use css to lay them out either absolutely (ie using window coordinates) or just let them flow. It depends what you want it to look like really.
You can either have them as a constant stream from zms but with the actual content only changing periodically or you will need to use Javascript and do a bit of double buffering which is the way that Montage works in stills mode. In other words you show an image, and then you fetch the next frame to a hidden image element and then swap them and repeat. That way you don't see the image loading. I can do a demo sort of thing if you would like me to.
Layout-wise, you have two main choices. Either use an html table of which ZM is littered or (my preference nowadays) use css to lay them out either absolutely (ie using window coordinates) or just let them flow. It depends what you want it to look like really.
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Thanks Philzoneminder wrote:Hi James,
You can either have them as a constant stream from zms but with the actual content only changing periodically or you will need to use Javascript and do a bit of double buffering which is the way that Montage works in stills mode. In other words you show an image, and then you fetch the next frame to a hidden image element and then swap them and repeat. That way you don't see the image loading. I can do a demo sort of thing if you would like me to.
Layout-wise, you have two main choices. Either use an html table of which ZM is littered or (my preference nowadays) use css to lay them out either absolutely (ie using window coordinates) or just let them flow. It depends what you want it to look like really.
Ideally id like something like the stripped montage view with say 5 columns updated every 5 seconds. If you could knock something up as a started project i can post my final results on the wiki if needed. Maybe we could do a 4 way one based on mpeg aswell?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
lol now your talking....
I was thinking of having a graphic with the splits inside, like zm4ms but on the page. I will knock up a basic graphic when i leave the office and add some dummy images.
James
I was thinking of having a graphic with the splits inside, like zm4ms but on the page. I will knock up a basic graphic when i leave the office and add some dummy images.
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Now i know this cant be done directly but if i were to grab a high quality say 1024 x 768 jpg of the the zm4ms main viewer background could we fill in the middle with images?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
maybe we should limit to 4 and have the buttons accross the top mean
1-4, 5-8, 9-12 etc etc
1-4, 5-8, 9-12 etc etc
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Would it be best to have the buttons seperate then?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
the 'response' can be in version 2 lol
Ill create a proper jpeg as the back drop then with no button accross the top.
I will then add a tool strip on the right with the selectors on, can we do a 4 way and 9 way one? i think 9 is enough
Ill create a proper jpeg as the back drop then with no button accross the top.
I will then add a tool strip on the right with the selectors on, can we do a 4 way and 9 way one? i think 9 is enough
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk