图片未显示在github页面上

时间:2018-07-17 19:53:14

标签: github github-pages

我正在github上创建一个投资组合博客,我创建了一个名为mobil的文件夹名称img。当在github上查看投资组合时,此图像加载并与github一起显示,但未显示在实际网站上,它显示了损坏的文件链接。 这是文件https://github.com/desmond75/desmond75.github.io/blob/master/img/mobil.PNG的路径 此img文件夹位于目录的根目录下,这是我引用文件的方式

![Here is the alt text](https://github.com/desmond75/desmond75.github.io/blob/master/img/mobil.PNG "Here is the Title text")

tutorial

1 个答案:

答案 0 :(得分:1)

该页面上的“复制路径”按钮将为您提供可用图像的正确路径:https://desmond75.github.io/img/mobil.PNG

所以,在降价促销中:

![Here is the alt text](https://desmond75.github.io/img/mobil.PNG "Here is the Title text")

以及呈现的输出,以及alt文本:

Here is the alt text

相关问题