Replies: 3 comments 7 replies
-
can the placeholder in the new component be a URL? |
Beta Was this translation helpful? Give feedback.
-
THANK YOU!
I guess this is huge. That could decrease json bloat for pages that have many images like gallery pages and so on :) These new hooks look good to me, just left two small comments in the Contentful PR. Thank you again for implementing it there already :) As far as I can see this will be possible to update/align https://github.com/axe312ger/gatsby-transformer-inline-svg to the new API as well. Will adapt the new Image API patterns in #15783 as soon I find time for it. Big thanks to everybody contributing to this great new Image API! |
Beta Was this translation helpful? Give feedback.
-
Yes, though it would be at the expense of lacking placeholder images, unless you sent those through too. Doing something like using the dominant color for the placeholder might work there, and you could include that in the data |
Beta Was this translation helpful? Give feedback.
-
There is now an image plugin toolkit for plugin authors who want to add support for gatsby-plugin-image. See the draft docs
Beta Was this translation helpful? Give feedback.
All reactions