1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 23:36:29 +02:00

Compress the secureImg. TinyMce also decoding theme SEF image URLs now.

This commit is contained in:
Cameron
2016-02-07 11:16:00 -08:00
parent 831ef22ad9
commit 2976754d29
3 changed files with 16 additions and 3 deletions

View File

@@ -391,10 +391,10 @@ class secure_image
switch($type)
{
case "jpeg":
imagejpeg($image);
imagejpeg($image, null, 60 );
break;
case "png":
imagepng($image);
imagepng($image, null, 9);
break;
case "gif":
imagegif($image);