Hi all,
I'm using CTL Module Maker to create custom modules for a new website. I've run into another problem with CTLMM.
It's about the quality of the resized JPG images. It's subpar. Colors are left out. It's like the quality is set to 50% whenever images get resized and cropped.
Does anybody know how I can keep the same quality, even after images are resized and cropped? You'd do me a big favor. Thanks!
Quality resized images CTL Module Maker
-
- Forum Members
- Posts: 52
- Joined: Fri Nov 06, 2009 2:30 pm
Re: Quality resized images CTL Module Maker
I have made a module with CTL ModuleMaker in the past. It has a file called function.plresize.php
Look in there for the line
change it to
The default value that was used was 75 (so not 50) I use 80 for Gallery, but it can be set to max 100.
Look in there for the line
Code: Select all
imagejpeg($new_img, $newname);
Code: Select all
imagejpeg($new_img, $newname, 80);
-
- Forum Members
- Posts: 52
- Joined: Fri Nov 06, 2009 2:30 pm
Re: Quality resized images CTL Module Maker
Thanks! You're a lifesaver, Jos!