Skip to content

Serving images from a Next.js public folder without interfering with the BigCommerce remotePattern #705

Closed Answered by bookernath
seanlundberg asked this question in Q&A
Discussion options

You must be logged in to vote

@seanlundberg there's an example here:

https://github.com/bigcommerce/catalyst/blob/main/apps/core/components/hero/index.tsx#L21-L28

You should be able to just use <Image /> normally in this way.

You can also add multiple remotePatterns if you like, to use multiple image sources.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by seanlundberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants