I have built a page with a sub-page that isn’t routable, but just used for image storage.
On the parent page, I use the following to get the collection of images from the child:
{% for p in page.collection %}
{% for image in p.media.images %}
...do stuff with the image urls...
However, I am finding that grav is timing out trying to deal with the number of images in the child because it wants to create thumbnails, etc. Refreshing the page several times will eventually get through the problem and display the page quickly. However, obviously, this is not an ideal solution.
There are only about 100 images in the child at the moment. I could see several hundred or a thousand being in there (trying to build a catalog like system).
How can I stop grav from doing all this thumbnail/image-processing busy-work when all I really want is to grab the urls and meta-data of these files? Or how can I programmatically tell grav “Ok, process THAT image NOW” rather than have it decide it needs thumbnails for everything all at once?
Thanks!