is there a way to show symlinked img correctly via src at开发者_StackOverflow中文版tribute?
The server is running by express, and the symlinked image is serving by static file.
use symlink file
<img src="http://server:3000/public/1-symlinked.jpg" />
, it doesn't work.use normal file
<img src="http://server:3000/public/1.jpg" />
, it works.
first you have to save the image in your HTML Folder than you have to open the folder in your vs code than you can use tis tag it will work
<img scr="your image name ">
eg : <img scr= " image.png">
精彩评论