View Single Post
Old 03-16-2026, 10:31 AM   #50
ElMiko
Fanatic
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 543
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
Reluctantly reviving this thread to raise a weird behavior related to code discussed here. Namely:

Code:
.autoIMG {
	text-indent: 0;
	text-align: center;
	max-height: 32em;
	width: auto;
	margin: 0;
	}
.autoIMGimage {
	max-width: 100%;
	max-height: 32em;
	margin: 0 auto;
	display: block;
	}
This works as previously described and intended when viewed in the Sigil Preview and PageEdit (see ImageScale-PE attached). And I know it works in KOReader when viewed on a device.

BUT...

When viewed in the ReadiumReader plugin, the max-height limit is never recognized (see ImageScale-RP attached)! Does anyone know if this is a plugin error? Maybe I imagine it, but I was under the impression that the Readium plugin was an appropriate proxy for KOReader.
Attached Thumbnails
Click image for larger version

Name:	ImageScale-PE.jpg
Views:	8
Size:	182.2 KB
ID:	221830   Click image for larger version

Name:	ImageScale-RP.jpg
Views:	9
Size:	252.9 KB
ID:	221831  
Attached Files
File Type: epub ImageScaling2.epub (38.1 KB, 3 views)
ElMiko is offline   Reply With Quote