AbanteCart Community

Shopping Cart Operations => Support => Topic started by: smallfish on March 08, 2013, 03:43:36 AM

Title: thumbnail image quality
Post by: smallfish on March 08, 2013, 03:43:36 AM
The thumbnail image quality is not good. Where can I increase the quality of the thumbnail?
Thank you!
Title: Re: thumbnail image quality
Post by: abantecart on March 08, 2013, 04:52:56 AM
Thumbnail images are based on your source images. Load better quality source (main) images and thumbnails will be generated with better quality.
Title: Re: thumbnail image quality
Post by: smallfish on March 10, 2013, 07:17:16 PM
OK, I find that the image class which is already used 100% as the quality.
Then, I really need to improve the quality of the source image file.
Thanks!

public function save($file, $quality = 100) {
      $extension = pathinfo($file,PATHINFO_EXTENSION);
        if ($extension == 'jpeg' || $extension == 'jpg') {
            imagejpeg($this->image, $file, $quality);