Open mattrosno opened 3 years ago
Next.js's image component also can't take a stream / buffer. Interestingly, Cloudinary can. If sourcing images from GitHub repos, either we:
/public
src
props (but if those repos are GHE, that means you'd need to be w3 authenticated to view) E.g. https://raw.githubusercontent.com/mattrosno/carbon-library-common/3012db51020b2d3807c802da81e85f7c339fe030/components/accordion/images/accordion-alignment-do.png
https://nextjs.org/docs/basic-features/image-optimization
https://nextjs.org/docs/api-reference/next/image
You can't have images that live alongside your MDX files, for example.
https://stackoverflow.com/a/63659100/2166839