Mercurial > hg > mgallery
changeset 289:13cff35dfbec
Change default thumbnail/medium formats from JPEG to WEBP.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 28 Jul 2019 07:50:54 +0300 |
parents | cad9e459e12f |
children | 19fbf800b1f7 |
files | mgallery.inc.php |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mgallery.inc.php Tue May 21 14:01:07 2019 +0300 +++ b/mgallery.inc.php Sun Jul 28 07:50:54 2019 +0300 @@ -87,12 +87,12 @@ "tn_path" => [MG_STR, "tn/"], "med_path" => [MG_STR, "med/"], - "tn_format" => [MG_STR, "jpeg"], + "tn_format" => [MG_STR, "webp"], "tn_width" => [MG_INT, 140], // In pixels, applies as bounding box for w/h "tn_height" => [MG_INT, 100], - "tn_quality" => [MG_INT, 85], // JPEG/WEBP quality percent + "tn_quality" => [MG_INT, 90], // JPEG/WEBP quality percent - "med_format" => [MG_STR, "jpeg"], + "med_format" => [MG_STR, "webp"], "med_width" => [MG_INT, 960], "med_height" => [MG_INT, 640], "med_quality" => [MG_INT, 90],