As a photographer, I provide my customers with high-resolution images for download in a customer area. Some images are 60 million pixels or 15 MB in size. This requires a lot of memory and time in the front end to generate the preview images. I often see an error page due to insufficient memory.
My idea is therefore to generate a reduced version of 1.000 pixels when uploading the images in the panel and to use this version in the panel and frontend for display.
The original version should be given the name "_highresolution.jpg"
when uploaded and only linked in the frontend via a download link. The aim is that Kirby no longer has to process the high-resolution image after the upload.
Is this an efficient way, or is there a better solution?