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
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Allow via the S3 extension to store files from S3 instead of locally. Instead of storing files locally, upload them to S3 only (including thumbs). Add the option for "root S3 domain" that will be used to serve files. For example, my S3 bucket domain can be uploads.mysite.com and all uploads will be hosted there rather than locally. This can help with storage.
Describe alternatives you've considered
Editing the source myself to force serve images via my S3 domain.
The text was updated successfully, but these errors were encountered:
I'm unlikely to priorotise this myself, but PRs would be welcome if they can do it without negative side-effects - some ideas that come to mind:
add a "delete after upload" checkbox to the S3 extension
more documentation for image_ilink / image_tlink settings (you shouldn't need to edit the source to serve images via s3, there's a config option for that, in the advanced section)
figure out how to not-break all the extensions which assume files will be available on the local disk
Image::get_image_filename() is the central point here - it currently returns a filename of a file on disk, so either that'd need to download the file from S3 to be on the local drive temporarily, or it returns a URL (but then every bit of code which currently works with files needs to handle URLs)
Personally if I were doing this, my first instinct would be to mount the S3 bucket as a FUSE filesystem in data/thumbs and data/images 🤔
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Allow via the S3 extension to store files from S3 instead of locally. Instead of storing files locally, upload them to S3 only (including thumbs). Add the option for "root S3 domain" that will be used to serve files. For example, my S3 bucket domain can be
uploads.mysite.com
and all uploads will be hosted there rather than locally. This can help with storage.Describe alternatives you've considered
Editing the source myself to force serve images via my S3 domain.
The text was updated successfully, but these errors were encountered: