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
Description
Originally posted by @vanisuthamathi
readium/readium-js#57
Steps to Reproduce:
- Enable scroll view - readium.reader.updateSettings({
scroll: "scroll-doc"
}); in the Epub reader view -
Read any article containing big image sizes like 600x511, 600X300 and etc.,
Images are not resizing to fit the screen as shown in the attached image.
Observation:
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