diff --git a/wa-system/image/waImageGd.class.php b/wa-system/image/waImageGd.class.php index 373eb13bf..a1e422333 100644 --- a/wa-system/image/waImageGd.class.php +++ b/wa-system/image/waImageGd.class.php @@ -202,6 +202,7 @@ protected function _save_function($extension, & $quality) { switch (strtolower($extension)) { case 'jpg': + case 'jfif': case 'jpeg': $save = 'imagejpeg'; $type = IMAGETYPE_JPEG; @@ -513,4 +514,4 @@ function imagestring_rotate($dst_im, $font, $angle, $dst_x, $dst_y, $text, $r, $ imagecopy($dst_im, $png, $dst_x, $dst_y, 0, 0, $height, $width); imagedestroy($png); -} \ No newline at end of file +}