# HG changeset patch # User Matti Hamalainen # Date 1564662759 -10800 # Node ID 38f510786d88b7e6b4517e707d8c49e407ffac51 # Parent 486398fb60ea8a2962f922e4e0e736a9d258c5a8 Switch default tn/med formats back to JPEG. diff -r 486398fb60ea -r 38f510786d88 mgallery.inc.php --- a/mgallery.inc.php Thu Aug 01 15:26:08 2019 +0300 +++ b/mgallery.inc.php Thu Aug 01 15:32:39 2019 +0300 @@ -87,12 +87,12 @@ "tn_path" => [MG_STR, "tn/"], "med_path" => [MG_STR, "med/"], - "tn_format" => [MG_STR, "webp"], + "tn_format" => [MG_STR, "jpeg"], "tn_width" => [MG_INT, 140], // In pixels, applies as bounding box for w/h "tn_height" => [MG_INT, 100], "tn_quality" => [MG_INT, 90], // JPEG/WEBP quality percent - "med_format" => [MG_STR, "webp"], + "med_format" => [MG_STR, "jpeg"], "med_width" => [MG_INT, 960], "med_height" => [MG_INT, 640], "med_quality" => [MG_INT, 90],