View Single Post
Old 07-03-2017, 07:48 AM   #721
Zekathon
Member
Zekathon began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura One
Quote:
Originally Posted by Ken Maltby View Post
For my AuraHD I have the following:

<html>
<head>
<title>kobo menu info</title>
<style type="image/png">
p {
margin-top: 0.5em; }
</style>
</head>

<body>
<img src="/mnt/onboard/.adds/kbmenu/txt/poweroff.png">
</body>
</html>

For my "poweroff_info.html". The Poweroff.png is 1040x1387 bit depth 32, its 361KB.
Works fine.

The image was created using Gimp2 to fit the full screen.

Luck;
Ken
Tested your HTML code with your image. It works with the poff test script, but when i press the Power off, nothing happens. By nothing happens i mean, that the device turned off, but still showed the menu, like if it was on. May be the KA1 is slower because of its higher resolution and can't load it fast enough as Tshering said.

EDIT:
The Culprit seems to be the resolution of the image. It showed correctly 124kb 503 x 671 image, but not the same image upscaled to 1404 x 1872, even with smaller size of 121kb

Last edited by Zekathon; 07-03-2017 at 08:23 AM. Reason: New findings
Zekathon is offline   Reply With Quote