Thread: epub3x cover
View Single Post
Old 12-28-2023, 10:09 AM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,222
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
That is not true; sorry to be harsh, but your code doesn't work. This is how it looks under:

Bibi Reader:
Attachment 205200
The cover is not showed at all.

EpubJS Reader:
Attachment 205199
The right side of the cover is not showed.

Readium Reader:
Attachment 205201
The cover is not centered, is aligned to the top.

And your code use as anchor the "height" property (height: 100%); so, what happens when the "width" of an image is bigger than its "height"? Because the properties "max-width" and "max-height" are not supported by ADE Legacy (ADE 2.x), it happens the following:

Attachment 205202 Attachment 205203

The cover can't maintain its proportion. Conclusion: your code doesn't work. I'm wondering if you seriously tested it under ADE 2.x.

By the way, an ereader that does not support an svg wrapper is anything but an ereader.
It works perfectly well with Throrium which is based on Redium code. I cannot find ePubJS or Bibi to download. My code does work perfectly well with ADE 2.0.1. It works with KePub (Access), Kindle (KF8 & KFX), and Calibre's viewer. But not with Calibre's editor file preview. It's due to chromium code in QT. So for any of those programs that are Chrome plugins, it's no wonder they don't work.

Can you please provide links to the download for the other two programs?

Last edited by JSWolf; 12-28-2023 at 10:13 AM.
JSWolf is offline   Reply With Quote