Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Request] Static placeholder image for webcam to prevent jumps on control tab #478
It may be because I am running octoprint on a raspberry pi, but everytime I switch to control tab, it takes a few seconds to load the camera image. Since there is no size listed for the img tag, the controls start up at top of page, and then after the image loads, then they get shifted down towards the bottom. Is it possible to make this size static?
referenced this issue
Jan 27, 2017
This is now implemented on the
In the end I did it slightly differently than the above TODO list suggests.
We now have a webcam placeholder at aspect ratio of 16:9 or 4:3 (configurable) - well, or their portrait orientation equivalent if the webcam stream is rotated, a "Webcam stream loading..." message, a nice little error message if the loading went wrong, and no jumping controls anymore.