Some ePub files with images render incorrectly
Observed behavior
Some ePub files have page-long images that act as page backgrounds, and the custom style that Kolibri's ePub viewer plugin applies might break the width of these images, making them invisible.
Errors and logs
(No error logs are produced)
Expected behavior
Background images of ePub files are rendered correctly (image below is "censored")
User-facing consequences
The pages look broken :)
Steps to reproduce
Open ePub files with large background images. Notice they don't show up in the viewer. (Sorry I can't really share these files here! Please see screenshots above)
Context
developbranch (4cfe068e5010d7b7d4f9586144efd734434bce0f)- Fedora 38, Endless OS 5
- Any browser (tested with Firefox, Chromium, and GNOME Web)
Could you share the epub so I can reproduce this and give some recommendations?
@bjester I may be able to do so, but only privately, since the ePub files that reproduce this issue cannot be made public. Would you be comfortable with me mailing the email that is on your GitHub profile with the details?
I actually managed to create an ePub file that is minimal reproducer of the issue: reproducer.epub
See the comparison below:
Edit: you can test this file by importing it from the channel with token zibav-baraz too
Hi @GeorgesStavracas @bjester I’d like to work on this issue is it still open? if yes could you please assign it to me?
Hi! 👋
Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
We really appreciate your willingness to help—you're welcome to find a more suitable issue, and let us know if you have any questions. 😊
Hi @radinamatic - this issue is still valid in the latest version of Kolibri. I've created a new channel containing the provided reproducer.epub file since the previous is not working anymore: domod-kavof