comparison mgallery.inc.php @ 185:cb7019690a73

Separate medium image and thumbnail directories / handling.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 14 Mar 2018 15:21:42 +0200
parents 71b85fde6fa1
children f3098855ad58
comparison
equal deleted inserted replaced
184:087df916b6b4 185:cb7019690a73
83 83
84 "global_flags" => [MG_FLAGS, MGF_JAVASCRIPT | MGF_BREADCRUMBS | MGF_CAPTIONS, &$mgGFlags], 84 "global_flags" => [MG_FLAGS, MGF_JAVASCRIPT | MGF_BREADCRUMBS | MGF_CAPTIONS, &$mgGFlags],
85 "image_flags" => [MG_FLAGS, MGF_JAVASCRIPT | MGF_BREADCRUMBS, &$mgGFlags], 85 "image_flags" => [MG_FLAGS, MGF_JAVASCRIPT | MGF_BREADCRUMBS, &$mgGFlags],
86 "album_flags" => [MG_FLAGS, MGF_JAVASCRIPT | MGF_BREADCRUMBS, &$mgGFlags], 86 "album_flags" => [MG_FLAGS, MGF_JAVASCRIPT | MGF_BREADCRUMBS, &$mgGFlags],
87 87
88 "med_suffix" => [MG_STR, ".med"],
89 "tn_path" => [MG_STR, "tn/"], 88 "tn_path" => [MG_STR, "tn/"],
89 "med_path" => [MG_STR, "med/"],
90 90
91 "tn_width" => [MG_INT, 140], // In pixels, applies as bounding box for w/h 91 "tn_width" => [MG_INT, 140], // In pixels, applies as bounding box for w/h
92 "tn_height" => [MG_INT, 100], 92 "tn_height" => [MG_INT, 100],
93 "tn_quality" => [MG_INT, 85], // JPEG quality percent 93 "tn_quality" => [MG_INT, 85], // JPEG quality percent
94 94