Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images not resizing to fit the screen in scrollview #57

Closed
vanisuthamathi opened this issue Jul 23, 2014 · 1 comment
Closed

Images not resizing to fit the screen in scrollview #57

vanisuthamathi opened this issue Jul 23, 2014 · 1 comment

Comments

@vanisuthamathi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants