Page 1 of 1

Camera image rotate 90 degrees

Posted: Wednesday 22 May 2019 13:05
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'}

Re: Camera image rotate 90 degrees

Posted: Wednesday 22 May 2019 21:27
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);
}

Re: Camera image rotate 90 degrees

Posted: Thursday 23 May 2019 13:13
by gimic
Thanks, that does the trick!