Home > database >  what is wrong with the image delivery
what is wrong with the image delivery

Time:04-25

I've given the relative of the images on my personal portfolio website. but the images failed to load. The console shows the 404 error. In my local machine, the code and the path worked correctly but online the images not loading correctly.enter image description here

In fact ,your img url is "https://nabeelahmed1699.github.io/Personal-portfolio-V2/images/projects/spacewebsite.PNG".

But in your html ,img.src is "https://nabeelahmed1699.github.io/images/projects/Eventcounterapp.png".

Two errors:

  1. the suffix of pic is "PNG", not 'png',
  2. your resources(imgs,js,css) have a context path (Personal-portfolio-V2)
  • Related