You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the project I'm working on, there are many galleries with many photos. It's expected to have ~200 images in a single gallery, and they will be shown in a grid pattern. Since this will always be the case, I decided to simplify the responsive image calculator a bit, like the following:
This is working great, I have only a single 420px thumbnail image, which is what is used in the gallery. I then use fancybox to open the full-size image when the user clicks on it.
All good, but my question is: Is there a way to save this thumbnail on a different disk? The actual images are saved in S3, since there are many, but the thumbnails are very small in size (~30kb) so I think it would improve performance by saving them in the same disk as the application, which runs on a fast NVMe SSD storage.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all, greetings!
In the project I'm working on, there are many galleries with many photos. It's expected to have ~200 images in a single gallery, and they will be shown in a grid pattern. Since this will always be the case, I decided to simplify the responsive image calculator a bit, like the following:
This is working great, I have only a single 420px thumbnail image, which is what is used in the gallery. I then use fancybox to open the full-size image when the user clicks on it.
All good, but my question is: Is there a way to save this thumbnail on a different disk? The actual images are saved in S3, since there are many, but the thumbnails are very small in size (~30kb) so I think it would improve performance by saving them in the same disk as the application, which runs on a fast NVMe SSD storage.
Is this possible? If so, how?
Thank you all!
Beta Was this translation helpful? Give feedback.
All reactions