v151, template.thumbnail, what is the intended use?

Asked by thumper

Looking to post thumbnails of each layout in the UI in different locations.
How might we use the tampate.thumbnail row to enable this ability?
How are thumbnails created and where are are stored, or has this not created or planned abilities?

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

None of that functionality it implemented - it was intended that the background image thumbnail could be stored on the template at some later stage.

Revision history for this message
thumper (thumperzute) said :
#2

We are looking to screen capture the layout upon save and store it in a folder then linked to the correct layout number so we can display it on teh Displays page along with the player list to show the current layout on each player.

Did you have a plan on code style? We are looking at Javascript to do the capture on the client side, then save to a sub folder under img. There are a few ways to capture regions of teh screen so we can get class='layout' to capture but in all our test we don't capture the actual pictures or screen of the video (if video window).
We have had better results using the canvas tag but in our attempts to do so with the layout div box we have failed. Any ideas?

Revision history for this message
thumper (thumperzute) said :
#3

We can capture a Div as an image to a folder.

Next, how can we save that image when the Layout saves, correctly named as well?
Then using 'template.thumbnail', how can we link the correct image from the folder to the UI using the DB?

Can you help with this problem?

Provide an answer of your own, or ask thumper for more information if necessary.

To post a message you must log in.