From f509593d9493ea8f460238ba65f7e76913cafacd Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 6 Dec 2024 10:13:32 +0100 Subject: [PATCH] Docs: astro-images: Add help notice on case sensitivity of glob --- docs/src/content/pages/recipes/astro-images.mdoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/content/pages/recipes/astro-images.mdoc b/docs/src/content/pages/recipes/astro-images.mdoc index c8fe13d2e..5d8a124ee 100644 --- a/docs/src/content/pages/recipes/astro-images.mdoc +++ b/docs/src/content/pages/recipes/astro-images.mdoc @@ -113,4 +113,8 @@ captionImage: block({ }) ``` -Read the [Astro guide on dynamic image imports](https://docs.astro.build/en/recipes/dynamically-importing-images/) for details on the implementation. +Read the [Astro guide on dynamic image imports](https://docs.astro.build/en/recipes/dynamically-importing-images/) for details on the implementation. + +{% aside icon="☝️" %} +Reminder: The `glob` string is case-sensitive, so you need to include patterns like `import.meta.glob('/src/assets/*.{jpeg,jpg,JPEG,JPG}')` because Keystatic does not change the capitalization of file extensions during upload. +{% /aside %}