Add HEIC support question to README

This commit is contained in:
Sam Becker 2025-04-02 18:10:36 -05:00
parent a27a1e8373
commit 52916ef876

View File

@ -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? #### 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). > 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 cant 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 theyre 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? #### 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`. > 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`.