diff --git a/app/Controllers/Api/Images/Upload.php b/app/Controllers/Api/Images/Upload.php index c343eaa..c6b1eef 100644 --- a/app/Controllers/Api/Images/Upload.php +++ b/app/Controllers/Api/Images/Upload.php @@ -20,6 +20,7 @@ class Upload static $rating = 'allowed'; static $showtop = 'allowed'; static $subsnotify = 'allowed'; + static $exif = 'exif'; public static function create($postbody, $content, $exif) { @@ -146,6 +147,9 @@ class Upload if ((int)$_POST['disablesubsnotify'] === 1) { self::$subsnotify = 'disabled'; } + if ((int)$_POST['disableexif'] === 1) { + self::$exif = 'disabled'; + } if ($upload->getType() !== null) { $content = Json::return( array( diff --git a/static/css/photo.css b/static/css/photo.css index ab3451e..c2d23c3 100644 --- a/static/css/photo.css +++ b/static/css/photo.css @@ -1,7 +1,7 @@ #photobar { margin:0 -20px; position:relative; background-color:#333; } #underphoto_frame { display:inline-block; } -#ph { max-width:70%; cursor:zoom-in; } +#ph { max-width:50%; cursor:zoom-in; } #ph.v-zoom { max-height:calc(100vh - 30px); } #ph.zoomed { max-width:none; max-height:none; cursor:zoom-out; } #ph.nozoom { cursor:default; } diff --git a/views/pages/Photo.php b/views/pages/Photo.php index 185bb00..cfa4f42 100644 --- a/views/pages/Photo.php +++ b/views/pages/Photo.php @@ -118,7 +118,7 @@ if ($photo->i('id') !== null) { - + i('priority') === 1) { ?> @@ -304,7 +304,7 @@ if ($photo->i('id') !== null) {