Is it possible to rotate an image that comes from a camera 90 degrees?
i'ts declared in a button
buttons.ipcam1 = {key: 'cam1' , width:12, isimage:true, image: 'https://192.168.0.165/snap.jpg?JpegCam=1'}
Camera image rotate 90 degrees Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Camera image rotate 90 degrees
You can do that with a style-modifier in custom.css:gimic wrote: ↑Wednesday 22 May 2019 13:05 Is it possible to rotate an image that comes from a camera 90 degrees?
i'ts declared in a button
buttons.ipcam1 = {key: 'cam1' , width:12, isimage:true, image: 'https://192.168.0.165/snap.jpg?JpegCam=1'}
Code: Select all
.buttons-cam1 img {
transform: rotate(90deg);
}
-
- Posts: 50
- Joined: Thursday 04 January 2018 8:43
- Target OS: Linux
- Domoticz version: 3.66
- Location: Roeselare, Wvl, BE
- Contact:
Re: Camera image rotate 90 degrees
Thanks, that does the trick!
Who is online
Users browsing this forum: No registered users and 1 guest