Comments (2)
Hi @jaubourg Thanks for feedback 💚 Adding more control to providers by getting meta from generateURL
(will be refactored to getImage
) seems a nice idea!
Providers can internally utilize a SDK but changing image component behavior globally is not preferred since goal of image module is to keep usage abstract enough by providers for consistent usage. Other features can be implemented in a separate module (similar to cloudinary) and users can choose between abstraction or provider specific usage.
Regardless, would be amazing if was free for a call in next weeks so we can discuss more ideas (/cc @farnabaz @Atinux)
from image.
Hi @jaubourg Thanks for feedback 💚 Adding more control to providers by getting meta from
generateURL
(will be refactored togetImage
) seems a nice idea!
Awesome ! 💚
Providers can internally utilize a SDK but changing image component behavior globally is not preferred since goal of image module is to keep usage abstract enough by providers for consistent usage. Other features can be implemented in a separate module (similar to cloudinary) and users can choose between abstraction or provider specific usage.
That makes sense of course. Still, I wonder if it wouldn't be possible to do it cleanly by simply having getImage
return an object with actual img
element attributes ;) But, yeah, a TwicPics component would be more suited anyway.
Regardless, would be amazing if was free for a call in next weeks so we can discuss more ideas (/cc @farnabaz @Atinux)
With pleasure, just gimme a date and time and I'll try and manage. Which time zone are you guys in ?
from image.
Related Issues (20)
- Using NuxtPicture with ipx and 'nuxt generate' generates images of all size regardless of dimensions set with width/height attributes
- Cloudinary: Placeholder prop doesn't work as expected
- How to share the various assets present within the Nuxt 3 project with other Nuxt 3 project in same root folder?
- Request module IPX does not provide an export named 'createIPXH3Handler' HOT 4
- v1.3.0 not working HOT 8
- Could not load the "sharp" module using the darwin-arm64 HOT 3
- n HOT 1
- Screen sizes and media queries out of sync - resulting in IPX generated image being loaded on wrong breakpoints
- [IPX_ERROR] Cannot find package 'sharp' imported HOT 3
- [IPX_ERROR] can't pass trim object
- image.dir option in nuxt.config.ts results in 404 on production
- How to get ipx working with routeRules proxy HOT 1
- Cache images generated by ipx locally HOT 5
- Configuring Nuxt Image for Dynamic Paths in Custom Module HOT 1
- Passing the runtimeConfig to provider getImage functions
- NuxtPicture does not emit Error of child <img>
- [500] [IPX_ERROR] Could not load the \"sharp\" module using the linuxmusl-x64 runtime HOT 2
- `sizes` and `placeholder` attribute do not work in `preset` from `nuxt.config.ts` HOT 1
- `sharp` optional binaries not included in `.output` HOT 3
- How to catch IPX errors and show fallback with `NuxtImg` or `NuxtPicture`?
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 image.