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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user