View Single Post
Old 04-13-2015, 09:41 AM   #170
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
I just size the image in Gimp2 then use 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/.kobo/kbmenu/txt/poweroff.png">
</body>
</html>

The full screen image dimensions for the AuraHD are 1040x 1387. The use of html makes it so you can display variables and generated text easily as well. For most of us, since it will be a static image on the screen anyway, creating the image in an image editing program makes more sense.

Luck;
Ken

Just adding width="1040", as below:
<img src="/mnt/onboard/.kobo/kbmenu/txt/poweroff.png" width="1040">
should resize the image.

Last edited by Ken Maltby; 04-13-2015 at 10:15 AM.
Ken Maltby is offline   Reply With Quote