Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

Images not resizing to fit the screen in scrollview #64

Open
@danielweck

Description

@danielweck

Originally posted by @vanisuthamathi
readium/readium-js#57

Steps to Reproduce:

  1. Enable scroll view - readium.reader.updateSettings({
    scroll: "scroll-doc"
    }); in the Epub reader view
  2. Read any article containing big image sizes like 600x511, 600X300 and etc.,
    Observation:

    Images are not resizing to fit the screen as shown in the attached image.
    image_notresizing

Note: We have fixed in our application by adding css properties to the image tags after the content documents are loaded
$(imgTags).css('max-width', '98%');
$(imgTags).css('max-height', '98%');

Please fix in the readium library

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions