View Single Post
Old 07-02-2017, 12:24 PM   #718
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Zekathon View Post
There seems to be something wrong with the custom power off HTML file. I have tried to get the random power off screen script working and found out, that when i try to use any image, the poff test script opens it correctly, but when the device is powered off, it just shows the KSM menu like nothing happened, but shuts down. If i remove the image from the HTML code, it works correctly and the screen displays whatever text is inside the html. Or is it on purpose, that it doesn't accept images? I am not saying it might not be my error somewhere in the code, but the poff script and even my browser shows it correctly
That sounds like your image files are too large, try some with a lower resolution. The higher the resolution of the image, the more time is needed to write it to the screen. Therefore it can happen that the device powers off before the image appears on the screen.

Edit: For some example power off scipts with images, which are already on your device, see this post.

Last edited by tshering; 07-02-2017 at 12:31 PM.
tshering is offline   Reply With Quote