| Post Reply | RetroFed Forum Forum Index » Astro |
| Author | Message | ||
|---|---|---|---|
|
grievance
piefed.social
grievance@piefed.social Joined: 2025-11-11 |
So i try to make a Gallery with Astro and i hope someone can help me to grasp a few things. I have a folder called "assets" in "src" in which all the images reside. I also have a .astro file in "pages".
in the body of the .astro i try to map "resolvedImages"
Which kinda works but feels wrong. There seems to be something called "ImageMetadata " , which has all the things i would like to have access to (filepath, width, etc.). But i don`t understand how to use it. When i try
I still can“t access the values. What am i not understanding? Also, is that even the right approach? There is also the option to define a collection and get that but the docs say those are just for markdown? Thanks in advance. |
||
| 2 Original | |||
| Post Reply |
Back to top |