Closed snorlaxse closed 5 years ago
你好 我想在文章中并排显示图片 我用了以下格式 在本地hexo s中查看正常 部署后无法显示 想请教怎么解决
<center class="half"> <img src=./Lecture-Neural-Networks-Part-3/opt0.gif width="300"/> <img src=./Lecture-Neural-Networks-Part-3/opt.gif width="300"/> </center>
@Captainzj 可能是图片地址不对,请尝试使用绝对地址。
部署之后 页面显示
而本地测试 无论是绝对路径还是相对路径 都可以正常显示gif
@Captainzj 你这个绝对路径………… 不是用这个绝对路径,你这个是本地磁盘的绝对路径,不是Web URL的绝对路径。 试试这个: Captainzj.github.io/Lecture.......
Captainzj.github.io/Lecture.......
@ppoffice 谢谢!我用了部署后的绝对路径就好了
你好 我想在文章中并排显示图片 我用了以下格式 在本地hexo s中查看正常 部署后无法显示 想请教怎么解决