Comments (2)
Hi Simon,
Thanks for raising this issue and for your kind words.
S3 integration isn't something that I've tested so far. I can add this to the roadmap for this plugin, although I can't immediately put my attention on this due to busy work commitments.
I think S3 integration would be a worthy addition and as you have a real use case, I'd like to ask you a few questions so that I understand what you're trying to achieve.
Are you trying to:
- Put your entire compiled nuxt app on S3 and host from there
- Retrieve existing source images from an S3 bucket?
- Point the compiled
<img>
sources to a remote S3 bucket where the compiled images live? - Is you S3 bucket publicly accessible - i.e. no access permissions set?
I'd like to see if there is a general solution that's not necessarily S3 specific so this module can support other image hosting solutions.
Thanks,
Barry
from nuxt-image-loader-module.
Thanks Barry!
I’m not well versed in best practices for asset storage – so I was posing a question about how would be best to handle this as much as anything.
I am hosting my app from Netlify currently, and had thought it would be nice to store all image assets on a separate s3 bucket, attached to a subdomain e.g. assets.my-domain.com
Given this idea, I had thought it would be nice if during the build / generation process, assets could be generated and then uploaded to this bucket – with links amended appropriately.
With this in mind, I think my objective is as you describe in your third point:
- Point the compiled
<img>
sources to a remote S3 bucket where the compiled images live?
The assets could certainly be made public if necessary or easier!
Thanks,
Simon
from nuxt-image-loader-module.
Related Issues (20)
- Clear cache strategy to delete generated files when settings changed etc. HOT 3
- `forceGenerateImages` does not seem to be working HOT 5
- Usage with srcset HOT 2
- WebP support HOT 1
- forceGenerateImages and non-existent images HOT 4
- Add option to declare image styles outside the module. HOT 1
- Image compression is very aggressive – is there a way to control? HOT 4
- Cache previously force-generated images?
- Hash image names
- Support of multiple image dirs and sources HOT 4
- forceGenerateImages shows an error when no image matched from glob pattern
- 404 Not found when running with `nuxt` or `npm run dev`
- Issue: I don't see the generated images? HOT 1
- Question: Thumbnail resize options HOT 3
- Feature requests for enhanced nuxt generate options HOT 8
- README updates
- Add unit tests
- Use nuxt's consola for module logging
- Feature Request: change output format HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt-image-loader-module.