img tag not working with relative path in src

后端 未结 5 1210
星月不相逢
星月不相逢 2020-12-17 16:00

This is not working:

\"Alternative

But this is working:



        
5条回答
  •  遥遥无期
    2020-12-17 16:55

    I suspect you didn't actually do what I told you to so here is a screenshot:

    enter image description here

    If the image opens in a new tab then you have some kind of bug or extension that's messing it up in the html. If you messed up the relative path, you'll most likely get 404 but you'll be able to see the path as absolute. It may look like http://localhost/asdf/asdf/asdf/asdf/assets/assets/image.jpg Either way, send a screenshot of the above operation.

提交回复
热议问题