diff options
| author | Ken D'Ambrosio <ken@jots.org> | 2026-06-18 23:00:17 +0000 |
|---|---|---|
| committer | Ken D'Ambrosio <ken@jots.org> | 2026-06-18 23:00:17 +0000 |
| commit | 6f975533f075cc761184b5a7392522264eca6fc1 (patch) | |
| tree | 33b1f8678d34331a5b9b6a358ca688467263ec0b /public/css | |
| parent | faec9c5448dfe3bbb7e187c7fb4d58557b70035d (diff) | |
Many older photos (especially pre-EXIF-orientation cameras) are off
by a multiple of 90 degrees with no metadata to auto-correct. Each
image row in the admin file table now has rotate buttons that
physically rotate the file (auto-orienting first to normalize any
existing EXIF tag), swap the stored width/height, and clear the
cached thumbnail so it regenerates from the corrected image.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'public/css')
| -rw-r--r-- | public/css/style.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/css/style.css b/public/css/style.css index 03d869f..edc9d90 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -355,6 +355,9 @@ legend { padding: 0 8px; color: var(--text-dim); font-size: .85rem; } .files-table tr:hover td { background: var(--bg2); } .filename { color: var(--text-dim); font-size: .8rem; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .visible-cell { text-align: center; } +.rotate-cell { text-align: center; white-space: nowrap; } +.rotate-form { display: inline-flex; gap: 4px; margin: 0; } +.rotate-form .btn-sm { padding: 2px 8px; font-size: 1rem; line-height: 1; } .files-table input[type=text] { width: 100%; background: var(--bg3); border: 1px solid transparent; |
