layout position

Asked by kthamma

I used screen resolution 1280x768 & 768x1280 display (this is maximum quality for my plasma display) but when I design layout (16:9 , 9:16 , 16:10 , 10:16 ) at design page everything is OK. When I run xibo client the position not the same I see on design page . How do I or am I do worng something ?

Thank you very much for great tool ..

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Harrington (alexharrington) said :
#1

1280x768 is a 15:9 aspect ratio. Designing for 16:9 or 16:10 will give you a layout that will still go on the screen, but you'll get black bars either top and bottom or left and right.

It's also a screen resolution that I've never seen on a TV. They tend to be 16:9 or 16:10 ratio. I've seen it on laptops though.

What you need to do is manually enter a new resolution in to the database. Xibo doesn't offer a GUI to do this so either use MySQL admin or PHPMyAdmin to connect to your xibo database and run the following query:

INSERT INTO `resolution` (
`resolutionID`,`resolution`,`width`,`height`)
 VALUES (
 NULL , '15:9 Monitor', '800', '480' ), ( NULL , '9:15 Monitor', '480', '800' );

Then run the following query to add two new templates for those resolutions:

INSERT INTO `template` (`template`, `xml`, `permissionID`, `userID`, `createdDT`, `modifiedDT`, `description`, `tags`, `thumbnail`, `isSystem`, `retired`) VALUES

('15:9 Full Screen', '<?xml version="1.0"?>\n<layout width="800" height="480" bgcolor="#000000" background="" schemaVersion="1"><region id="47ff2f524ae1b" width="800" height="480" top="0" left="0"/></layout>\n', 3, 1, '2008-01-01 01:00:00', '2008-01-01 01:00:00', '', '', NULL, 1, 0),

('Portrait - 9:15', '<?xml version="1.0"?>\n<layout width="480" height="800" bgcolor="#000000" background="" schemaVersion="1"><region id="47ff2f524be1b" width="480" height="800" top="0" left="0"/></layout>\n', 3, 1, '2008-01-01 01:00:00', '2008-01-01 01:00:00', '', '', NULL, 1, 0);

You should then be able to create 15:9 layouts.

Alex

Revision history for this message
kthamma (k-dhammarat) said :
#2

Thanks Alex Harrington, that solved my question.