diff --git a/README.md b/README.md index 0289c1c4..814a4d94 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,7 @@ Create Upstash Redis store from storage tab of Vercel dashboard and link to your - `NEXT_PUBLIC_HIDE_ABOUT_PAGE = 1` hides `/about` page - `NEXT_PUBLIC_HIDE_KEYBOARD_SHORTCUT_TOOLTIPS = 1` hides keyboard shortcut hints in areas like the main nav, and previous/next photo links - `NEXT_PUBLIC_HIDE_EXIF_DATA = 1` hides EXIF data in photo details and OG images (potentially useful for portfolios, which don't focus on photography) +- `NEXT_PUBLIC_ALWAYS_SHOW_EXPOSURE_COMP = 1` displays exposure compensation even when it's 0ev - `NEXT_PUBLIC_HIDE_ZOOM_CONTROLS = 1` hides fullscreen photo zoom controls - `NEXT_PUBLIC_HIDE_TAKEN_AT_TIME = 1` hides taken at time from photo meta - `NEXT_PUBLIC_HIDE_REPO_LINK = 1` removes footer link to repo diff --git a/src/admin/config/AdminAppConfigurationClient.tsx b/src/admin/config/AdminAppConfigurationClient.tsx index 6c7d2007..a466ec7a 100644 --- a/src/admin/config/AdminAppConfigurationClient.tsx +++ b/src/admin/config/AdminAppConfigurationClient.tsx @@ -109,6 +109,7 @@ export default function AdminAppConfigurationClient({ showAboutPage, showKeyboardShortcutTooltips, showExifInfo, + alwaysShowExposureComp, showZoomControls, showTakenAtTimeHidden, showRepoLink, @@ -803,6 +804,15 @@ export default function AdminAppConfigurationClient({ Set environment variable to {'"1"'} to hide EXIF data {renderEnvVars(['NEXT_PUBLIC_HIDE_EXIF_DATA'])} + + Set environment variable to {'"1"'} to always show + exposure compensation even when {'it\'s'} 0ev + {renderEnvVars(['NEXT_PUBLIC_ALWAYS_SHOW_EXPOSURE_COMP'])} + {photo.fNumberFormatted}
  • {photo.exposureTimeFormatted}
  • {photo.isoFormatted}
  • -
  • {photo.exposureCompensationFormatted ?? '0ev'}
  • + {photo.exposureCompensationFormatted + ?
  • {photo.exposureCompensationFormatted}
  • + : ALWAYS_SHOW_EXPOSURE_COMP &&
  • 0ev
  • } {showFilmContent && photo.film &&