changeset 294:38f510786d88

Switch default tn/med formats back to JPEG.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 01 Aug 2019 15:32:39 +0300
parents 486398fb60ea
children df66529eff47
files mgallery.inc.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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],