From 52916ef876468585cde1892a7d2f3fbb9ef9c160 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 2 Apr 2025 18:10:36 -0500 Subject: [PATCH] Add HEIC support question to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 07a78e2c..80c3c3e8 100644 --- a/README.md +++ b/README.md @@ -287,6 +287,9 @@ Vercel Postgres can be switched to another Postgres-compatible, pooling provider #### I'm seeing server-side runtime errors when loading a page after updating my fork. What do I do? > Navigate to `/admin/configuration` and click "Clear Cache." If this doesn't help, [open an issue](https://github.com/sambecker/exif-photo-blog/issues/new). +#### Why can’t I upload HEIC files? +> This template relies on `sharp` to manipulate images and `next/image` to serve them, neither of which natively support HEIC [[1]](https://github.com/vercel/next.js/discussions/30043) [[2]](https://github.com/lovell/sharp/issues/3981). Fortunately, you can still upload HEIC files directly from native share controls on Apple platforms because they’re automatically converted to JPG upon upload. If you think you have a viable HEIC strategy, feel free to open a PR. + #### Why are my thumbnails square? > Absent configuration, the default grid aspect ratio is `1`. `NEXT_PUBLIC_GRID_ASPECT_RATIO` can be set to any number (for instance, `1.5` for 3:2 images) or ignored by setting to `0`.