Comments (2)
Thanks for the feedback. srcset
support would be a nice addition. I'm current a bit stacked with client work at the moment, but I'll certainly add this to the roadmap although there's no official log outside of this issue queue.
I'd like to have srcset
presets defined as separate config items in the module config to achieve what you outlined as you use case. There probably ought to be some validation on the config to check for potential errors. Also, there should be a consideration for the sizes attribute which could be part of the preset definition.
Let's leave this open and when I have some time I'll see if I can get this done along with tests. If you don't hear back after a few weeks, feel free to bump!
Thanks,
Barry
from nuxt-image-loader-module.
Please check out v1.4.0 and the new README relating to responsive images. If you have any questions please open another ticket.
The CI server is having issues at the moment, possibly with the latest version of nuxt broken upstream, I'm not sure. All tests pass on my machine running nuxt 2.2.0.
I hope this helps! 😄
Barry
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
- WebP support HOT 1
- forceGenerateImages and non-existent images HOT 4
- Add option to declare image styles outside the module. HOT 1
- how to point URL to an s3 bucket after generation? HOT 2
- 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.