Image Upload Jpeg Quality
Re: Image Upload Jpeg Quality
You probably better of with a custom transaction taking the uploaded image and referring to the proper function, compress it.
Re: Image Upload Jpeg Quality
Hello again Fred
I still haven't solved this problem. I need to get the Image Upload and Resize function to compress even if the dimensions are equal to or less than the Box Size.
I have many images that have been uploaded by clients that are smaller than the box, but virtually uncompressed resulting in 200k + whereas resized images are typically 30k to 40k.
Have you had any further thoughts on how to force the KT_Image.class.php file to compress the image even when not resizing.
I think that is the right file.
Maybe somewhere near here:
Any help would be really appreciated.
I still haven't solved this problem. I need to get the Image Upload and Resize function to compress even if the dimensions are equal to or less than the Box Size.
I have many images that have been uploaded by clients that are smaller than the box, but virtually uncompressed resulting in 200k + whereas resized images are typically 30k to 40k.
Have you had any further thoughts on how to force the KT_Image.class.php file to compress the image even when not resizing.
I think that is the right file.
Maybe somewhere near here:
Code: Select all
function KT_image() {
$this->qualityLevel = 80;
if (isset($GLOBALS['KT_default_image_quality']) && $GLOBALS['KT_default_image_quality'] > 0 && $GLOBALS['KT_default_image_quality'] <= 100) {
$this->qualityLevel = (int)$GLOBALS['KT_default_image_quality'];
}
Re: Image Upload Jpeg Quality
Probably after the setResize bit.
Never tried it so cant really say.
Never tried it so cant really say.