-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"url" parameter is valid but image type is not allowed #297
Comments
Hi, module.exports = {
images: {
dangerouslyAllowSVG: true,
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
},
} However I see that we forgot to pass the new configuration properties to the underlying Image Optimization module. |
Thanks, @ofhouse for your quick reply. I also tried to remove all CloudFront cache as well but not worked. Any clue why its not working? Thanks |
Sorry, the important part of my previous message was a bit lost:
The setting from the |
Got it. Thanks |
This has been fixed in |
@ofhouse , Thanks for the quick release. It really helped me to check my issue. But sadly, the Issue still remains the same. not resolved. next.config.js:
Is anything missing from myend? |
Did you also updated the Can you check the content of the The file is used as input for the Terrafom module and the values of |
Thanks, @ofhouse. You are great. It's' resolved with an updated latest version of the tf-next package. now I am able to load SVG on my website. I really appreciate your dedication and contribution to this project. Hope you will remain active in this project forever. Thanks again. Have a great day!... |
Hello team,
Thanks for your awesome contribution to this stack. I am facing one issue with the latest version of this stack. Here is an issue:
https://uat-webv3.whimstay.com/_next/image?url=%2Fimage%2Ficons%2Fguest.svg&w=48&q=75
Is anything needed to take care of in the latest version? I am not able to load some images. It's throwing an error of 400 in the network tab with the response '"URL" parameter is valid but image type is not allowed. '
Can you please help with this?
Thanks
The text was updated successfully, but these errors were encountered: