Issues

Issue #1093 resolved

Bug with image width

Denis Kolodin
created an issue

When I export ePub I see a bug with images (look an attachment). It appears in Adobe Digital Editions and others.

To fix this bug software like Sigil uses max-width:100%; property in style.

Please, add this property to epub theme:

img { border:0; max-width:100%; }

P.S. I think it's useful to add property for other themes, like basic, because bug appears with every theme in small browser's window.

Comments (3)

  1. Roland Meister

    Hello, thanks for the feedback!

    The suggestion looks good to me. I'll take a look at it.

    Meanwhile, could you try the epub_max_image_width option (new with version 1.2), which scales oversized images at build time down to a maximum width? While the main intent is a little bit different, it may also solve your current problem.

  2. Log in to comment