You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm also having this kind of problem because wand qare readded to the URL ... So my URL looks like this https://url.com/image.jpg?w=2000&h=1000&f=webp?w=2048&q=75
Describe the bug
Our Next Image component is utilizing a loader prop, similar to the next configuration for images to optimize our images from our third-party CDN. Our images are breaking due to a duplicate query parameter that is added in
next-image-default-loader.tsx
. We've attempted to override the loader using theoptions
object similar to what is show in the docs, overriding it directly in our next configuration, and conditionally check if we are running Storybook. However, none of these options have worked.Is it possible to remove the query parameters and just return
src
for thedefaultLoader
?Existing issue
Removing our component's query params
To Reproduce
https://www.chromatic.com/build?appId=6400f1d342966f9f686bc9e8&number=3451
System
Additional context
This is after upgrading Storybook from v6.5.x to v7.4.0.
These are the updated addons, in addition to other libraries we are using in Storybook:
In addition, here is our
main.ts
file:The text was updated successfully, but these errors were encountered: