Now I have a problem that inside restricted environment images are getting blocked by url, when used in vercel/image.
It would be great to detect it and have some way to display some predefined image or data instead
Now I have a problem that inside restricted environment images are getting blocked by url, when used in vercel/image.
It would be great to detect it and have some way to display some predefined image or data instead
Hi, @lonli-lokli! Welcome to the Vercel Community
Do you have any helpful error logs we can have a look at?
Well, nothing interesting. Public website itself works ok, but when I am trying to access images from inside restricted network url image (looking like web.site/_next/image?image.jpg - it’s geetting blocked by my organization.
This block might be ok, problem is that direct url works as expected, eg displayed, so only this format is blocked.
What I want is to detect such situation by Image component and somehow react