diff --git a/include/functions2.php b/include/functions2.php index 75a3f8716..c779d0a8c 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1998,7 +1998,7 @@ } else { if (preg_match("/image/", $entry["type"]) || - preg_match("/\.(jpg|png|gif|bmp)/i", $entry["filename"])) { + preg_match("/\.(jpe?g|png|gif|bmp)/i", $entry["filename"])) { if (!$hide_images) { $encsize = '';