View Single Post
Old 07-10-2016, 03:41 AM   #2
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Neat progress in image display

Hi

I had reported some months ago (including to GitHub) some serious "Image display problems". So, I avoided reading books with many images with Koreader.

I use the latest version (today): v. 2015.11-507-gef260f0

I was wrong: it's my pleasure to report that a neat progress has been made for image display, regarding the relative size of centered images. You can check it by yourself this way:

1. in Koreader, activate the "integrated style". This is a must.

2. In the EPUB code, within the img tag, use the following parameter which works now consistently, from full page images to small sized ones.
Code:
style="width:xx%"
3. To avoid centering defects due to text-indents, you can better wrap the img tag in a div container, i.e.
Code:
<div style="text-align:center">_</div>
Work remains to be done for the float property (size is OK but they are displayed as blocks) and svg (including wrappers).

Congratulations and thanks to our -so discrete- Koreader authors.

Last edited by roger64; 07-14-2016 at 02:15 AM. Reason: code
roger64 is offline   Reply With Quote