I've never used netlify, but with a high probability, .//code> is not
.//
from the moment it goes up to netlify. If the path starts with .
, it is a relative path, but it is not very good to think that it can give the relative path with the src
attribute such as img
and script
. Because you're going to have the same problem as you are now.
Browse to the folder with
index.html
or index.php
. Create a folder there called images
. Put the picture in the folder. And fix the picture tag.
<img src="/sajin.jpg" /> <!-- Note that it gave a path (absolute path) starting with a slash -->
Please see if the image comes out on netify. "live server" is a later issue.
2023-01-06 09:20
If you have any answers or tips
Popular Tags
python x 4647
android x 1593
java x 1494
javascript x 1427
c x 927
c++ x 878
ruby-on-rails x 696
php x 692
python3 x 685
html x 656
Popular Questions
© 2025 OneMinuteCode. All rights reserved.