Scada-LTS
Scada-LTS copied to clipboard
it is not possible to set the background resolution
it is not possible to set the background resolution
For existing views, something has gone wrong and the property to set the background resolution is not displayed.
To Reproduce Steps to reproduce the behavior:
- Go to existing graphical view
- Click on edit
- See (don't see) resolution is not displayed
Hey i failed to repeat this problem what did i do?
- I created a new view with no background, it was possible to choose the resolution, then I saved and reloaded the page, I chose the added view and that resolution is still there;
- Then I added background to this view, uploaded, saved, resolution disappears, but after clicking clear image, the resolution reappears, and it is also after saving, refreshing the page, selecting and editing this view again;
So I conclude that the background is set on that existing view, but maybe the graphics are not available.
You can check it like this on the generated view in the browser:
-
If background is not set, the viewBackground element has "images/spacer.gif" in src and looks like this:
<img id = "viewBackground" src = "images/spacer.gif" alt = "" width = "1920" height = "1080" style = "top: 1px; left: 1px;">
-
If we set some background, this element in src has "uploads/*" and looks like this:
<img id = "viewBackground" src = "uploads/3.png" alt = "" style = "top: 1px; left: 1px;">