Private GIT

Skip to content
Snippets Groups Projects
Commit 3f5539de authored by Giant Spook's avatar Giant Spook
Browse files

Fix image thumbnail aspect ratio

Resizing images using the thumbnail method preserves the aspect ratio,
which is then discarded by the HTML/CSS, which forces them to a specific
pixel size.  Images which aren't that pixel size (not all TVDB banners
are exactly the proscribed pixel size) get blurred by the web browser.

Also added a content-type header for the resized image and slightly
increased the JPEG quality.  Banners look way better as PNGs (JPEG blurs
text), but if this feature is added it should probably be a user pref
because PNGs are significantly larger.
parent e0e8f0e7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment