diff --git a/README.md b/README.md index 84a37a96..6c920595 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ Application behavior can be changed by configuring the following environment var - `NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_OG_IMAGES = 1` enables static optimization for OG images, i.e., renders images at build time - `NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORIES = 1` enables static optimization for photo categories (`tag/[tag]`, `shot-on/[make]/[model]`, etc.), i.e., renders pages at build time - `NEXT_PUBLIC_PRESERVE_ORIGINAL_UPLOADS = 1` prevents photo uploads being compressed before storing +- `NEXT_PUBLIC_BLUR_DISABLED = 1` prevents image blur data being stored and displayed (potentially useful for limiting Postgres usage) #### Display - `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) @@ -119,7 +120,6 @@ Application behavior can be changed by configuring the following environment var - `NEXT_PUBLIC_GRID_HOMEPAGE = 1` shows grid layout on homepage - `NEXT_PUBLIC_DEFAULT_THEME = light | dark` sets preferred initial theme (defaults to `system` when not configured) - `NEXT_PUBLIC_MATTE_PHOTOS = 1` constrains the size of each photo, and enables a surrounding border (potentially useful for photos with tall aspect ratios) -- `NEXT_PUBLIC_BLUR_DISABLED = 1` prevents image blur data being stored and displayed (potentially useful for limiting Postgres usage) - `NEXT_PUBLIC_GEO_PRIVACY = 1` disables collection/display of location-based data (⚠️ re-compresses uploaded images in order to remove GPS information) - `NEXT_PUBLIC_ALLOW_PUBLIC_DOWNLOADS = 1` enables public photo downloads for all visitors (⚠️ may result in increased bandwidth usage) - `NEXT_PUBLIC_PUBLIC_API = 1` enables public API available at `/api` diff --git a/src/site/SiteChecklistClient.tsx b/src/site/SiteChecklistClient.tsx index b58ff29d..a5deea46 100644 --- a/src/site/SiteChecklistClient.tsx +++ b/src/site/SiteChecklistClient.tsx @@ -59,6 +59,7 @@ export default function SiteChecklistClient({ arePhotoOGImagesStaticallyOptimized, arePhotoCategoriesStaticallyOptimized, areOriginalUploadsPreserved, + isBlurEnabled, // Display showExifInfo, showTakenAtTimeHidden, @@ -70,7 +71,6 @@ export default function SiteChecklistClient({ hasDefaultTheme, defaultTheme, arePhotosMatted, - isBlurEnabled, isGeoPrivacyEnabled, gridAspectRatio, hasGridAspectRatio, @@ -319,7 +319,7 @@ export default function SiteChecklistClient({ isPending={!hasAuthSecret && isTestingConnections} > Store auth secret in environment variable: - {!hasAuthSecret && + {!hasAuthSecret || true &&
+ + Set environment variable to {'"1"'} to prevent + image blur data being stored and displayed: + {renderEnvVars(['NEXT_PUBLIC_BLUR_DISABLED'])} + - - Set environment variable to {'"1"'} to prevent - image blur data being stored and displayed: - {renderEnvVars(['NEXT_PUBLIC_BLUR_DISABLED'])} -