From 062fad73dff26fec2cacb10c9f98634ee2b509b7 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sun, 23 Feb 2025 23:47:35 -0600 Subject: [PATCH] Add recipe configuration/faq --- README.md | 4 ++++ src/admin/AdminAppConfigurationClient.tsx | 10 ++++++++++ src/app/config.ts | 3 +++ 3 files changed, 17 insertions(+) diff --git a/README.md b/README.md index e83db2d8..197e2fdf 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ Application behavior can be changed by configuring the following environment var - `NEXT_PUBLIC_HIDE_TAKEN_AT_TIME = 1` hides taken at time from photo meta - `NEXT_PUBLIC_HIDE_SOCIAL = 1` removes X (formerly Twitter) button from share modal - `NEXT_PUBLIC_HIDE_FILM_SIMULATIONS = 1` prevents Fujifilm simulations showing up in `/grid` sidebar and CMD-K search results +- `NEXT_PUBLIC_HIDE_RECIPES = 1` prevents Fujifilm recipe button showing up in photo meta - `NEXT_PUBLIC_HIDE_REPO_LINK = 1` removes footer link to repo #### Grid @@ -282,6 +283,9 @@ Vercel Postgres can be switched to another Postgres-compatible, pooling provider #### Why aren't Fujifilm simulations importing alongside EXIF data? > Fujifilm simulation data is stored in vendor-specific Makernote binaries embedded in EXIF data. Under certain circumstances an intermediary may strip out this data. For instance, there is a known issue on iOS where editing an image, e.g., cropping it, causes Makernote data loss. If simulation data appears to be missing, try importing the original file as it was stored by the camera. Additionally, if you can confirm the simulation mode, you can edit the photo and manually select it. +#### My Fujifilm recipes are missing/displaying incorrect data. What should I do? +> Fujifilm file specifications have evolved over time. Open an issue with the file in question attached in order for it to be investigated. + #### Why do my images appear flipped/rotated incorrectly? > For a number of reasons, only EXIF orientations: 1, 3, 6, and 8 are supported. Orientations 2, 4, 5, and 7—which make use of mirroring—are not supported. diff --git a/src/admin/AdminAppConfigurationClient.tsx b/src/admin/AdminAppConfigurationClient.tsx index a0c7c202..87f827bb 100644 --- a/src/admin/AdminAppConfigurationClient.tsx +++ b/src/admin/AdminAppConfigurationClient.tsx @@ -73,6 +73,7 @@ export default function AdminAppConfigurationClient({ showTakenAtTimeHidden, showSocial, showFilmSimulations, + showRecipes, showRepoLink, // Grid isGridHomepageEnabled, @@ -525,6 +526,15 @@ export default function AdminAppConfigurationClient({ CMD-K results: {renderEnvVars(['NEXT_PUBLIC_HIDE_FILM_SIMULATIONS'])} + + Set environment variable to {'"1"'} to prevent + Fujifilm recipe button showing up in photo meta: + {renderEnvVars(['NEXT_PUBLIC_HIDE_RECIPES'])} +