elseif ($filetype == 2) { imagejpeg($thumbimage, $thumbfile); }
elseif ($filetype == 2) { imagejpeg($thumbimage, $thumbfile, [b]VALUE BETWEEN 0 AND 100[/b]); }
Quote
Matonor wrote:
in this line (about 50) in photo_functions_inlcude.php:Code Download sourceelseif ($filetype == 2) { imagejpeg($thumbimage, $thumbfile); }
add the quality parameter to imagejpeg():Code Download sourceelseif ($filetype == 2) { imagejpeg($thumbimage, $thumbfile, [b]VALUE BETWEEN 0 AND 100[/b]); }
Quote
Thymus wrote:
Thank you! Was it that "easy"? :)
I wouldn't hurt to have a quality parameter in the admin settings. Just a thought. :)
Quote
Matonor wrote:
in this line (about 50) in photo_functions_inlcude.php:Code Download sourceelseif ($filetype == 2) { imagejpeg($thumbimage, $thumbfile); }
add the quality parameter to imagejpeg():Code Download sourceelseif ($filetype == 2) { imagejpeg($thumbimage, $thumbfile, [b]VALUE BETWEEN 0 AND 100[/b]); }
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions