Camera image rotate 90 degrees Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
gimic
Posts: 50
Joined: Thursday 04 January 2018 8:43
Target OS: Linux
Domoticz version: 3.66
Location: Roeselare, Wvl, BE
Contact:

Camera image rotate 90 degrees

Post by gimic »

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'}
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Camera image rotate 90 degrees

Post by Lokonli »

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'}
You can do that with a style-modifier in custom.css:

Code: Select all

.buttons-cam1 img {
  transform: rotate(90deg);
}
gimic
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

Post by gimic »

Thanks, that does the trick!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest