Posted on February 25th, 2008 by KhoKing.
Categories: Blog.
I notice that Wordpress has really really poor thumbnail image quality when I upload my photos online. It really spoil a photo or even discourage people to view/click your photo.
To change the thumbnail image quality:
Edit File:
/wp-admin/includes/image.php
Change:
if (!imagejpeg( $thumbnail, $thumbpath ) ) {
To:
if (!imagejpeg( $thumbnail, $thumbpath, 90 ) ) {
90 is the image quality of your thumbnail. My personal experience is that 85-90 are of very good quality. Not encourage to use 100 as it will generate big file size with virtually very little different in image quality.
Here’s the thumbnail from original WordPress default setting (I used trial and error to check the compression setting of WP default, should be around 60-65%, which is definitely TOO POOR for photography work):
File size = 19.52 KB
Here’s after (80):
File size = 22.31 KB (more…)