bookworm icon indicating copy to clipboard operation
bookworm copied to clipboard

Book Cover Image is stretched in Reader

Open babluboy opened this issue 7 years ago • 4 comments

Showing the correct image of the book cover - At the moment unless the ebook specifies a size for the image the image fills the whole content area and appears stretched. Handle this situation by specifying the size such that the image shows nicely

babluboy avatar Feb 26 '17 15:02 babluboy

Added a bit of CSS to fix the cover image being stretched

babluboy avatar Feb 10 '18 17:02 babluboy

In my tests, covers are showing vastly differently depending on book. Some are stretched, some are clipped, and some are very small.

Would it be possible to make all covers display uniformly such that they are scaled to the greatest size possible given the window size without being clipped?

Practically, the usual effect would be that the cover image reaches from the top of the window to the bottom, and is fully visible.

brainchild0 avatar Mar 22 '20 01:03 brainchild0

In my tests, covers are showing vastly differently depending on book. Some are stretched, some are clipped, and some are very small.

Would it be possible to make all covers display uniformly such that they are scaled to the greatest size possible given the window size without being clipped?

Practically, the usual effect would be that the cover image reaches from the top of the window to the bottom, and is fully visible.

Thanks for your tests. It will be great if you can provide the test data by attaching the ebooks to this issue, so I can work on making the cover image render more uniformly.

babluboy avatar Mar 22 '20 02:03 babluboy

Maybe I could develop some test cases eventually, but copyright restrictions deter posting publicly.

brainchild0 avatar Mar 24 '20 05:03 brainchild0