silvanmelchior / RPi_Cam_Web_Interface

A web interface for the RPi Cam
MIT License
1.53k stars 493 forks source link

Multi-view layout #512

Open druck13 opened 5 years ago

druck13 commented 5 years ago

The multi-view script produces a 1x4 layout by default, by adding a style attribute to the image tags in multiview.html a nicer 2x2 layout can be achieved instead:-

      <img id="mjpeg_dest0" style="width: 49%"/>
      <img id="mjpeg_dest1" style="width: 49%"/>
      <img id="mjpeg_dest2" style="width: 49%"/>
      <img id="mjpeg_dest3" style="width: 49%"/>
roberttidey commented 5 years ago

Thanks for suggestion. Added to latest install set.