Giter Site home page Giter Site logo

Providers could use more control about image HOT 2 OPEN

nuxt avatar nuxt commented on May 8, 2024
Providers could use more control

from image.

Comments (2)

pi0 avatar pi0 commented on May 8, 2024

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.

jaubourg avatar jaubourg commented on May 8, 2024

Hi @jaubourg Thanks for feedback 💚 Adding more control to providers by getting meta from generateURL (will be refactored to getImage) 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.