-
Notifications
You must be signed in to change notification settings - Fork 197
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
404 error loading product images #149
Comments
Hi There seem to be a lot of potential problems with NuxtImg and adding error handling might be a good way to go. |
Hi guys. I actually think this is a bug with Netlify! It's frustrating not having control to fix it. I'm hoping to hear something that might help here: This is what I think is the problem |
Hello. I have tried using the netlify Image CDN for this problem and have successfully displayed it. ##Changes ###Components/CategoryCard.vue <NuxtImg :src="imageSrc" and more... ##Output |
|
Description
I am encountering an issue where images from an external domain (
admin.mydomain.com
) are not loading on my Nuxt site hosted on Netlify (mydomain.com
). The images themselves are accessible when visited directly via their URLs. However, when they are requested through the Nuxt Image module (@nuxt/image
usingipx
as a provider), they return a 404 error. This issue persists despite the external domain being correctly listed in theNUXT_IMAGE_DOMAINS
environment variable.Expected Behavior
Images from the external domain specified in
NUXT_IMAGE_DOMAINS
should load without issues, with@nuxt/image
correctly processing and displaying them on the site.Actual Behavior
Requests to load images through
@nuxt/image
are failing with a 404 error, indicating that the image could not be found or processed byipx
.Additional Context
Frontend Hosting environment: Netlify
WordPress Hosting environment: Hostinger
The text was updated successfully, but these errors were encountered: