johnsonshu
V2EX  ›  问与答

github 里的图片不能显示吗?

  •  
  •   johnsonshu · Dec 30, 2021 · 1870 views
    This topic created in 1630 days ago, the information mentioned may be changed or developed.

    READM.MD 里连了几张项目内图片。 所以把图片也上传了。

    可是,这些 png 图片并不能打开。 我找到 github 上对应的位置点链接,可以看到连到了下面的 网址, 但是不能打开。为啥啊?

    https://raw.githubusercontent.com/zc2tech/scrapy01/master/readme-files/downloaded-files.png

    Supplement 1  ·  Dec 30, 2021
    有朋友说什么规则呀或者是 hosts 文件。
    上 github 肯定已经 fangqiang 了啊。 怎么还需要这些东西?

    另外,试了改 hosts 文件,也还是不行。
    Supplement 2  ·  Dec 30, 2021
    README.md 里引用图片的路径里, 把反斜杠改成了斜杠。
    并且重启了 fangqiang 工具和浏览器。 就好了。。。
    mx8Y3o5w3M70LC4y
        1
    mx8Y3o5w3M70LC4y  
       Dec 30, 2021
    githubusercontent.com 添加到规则里
    lddtime
        2
    lddtime  
       Dec 30, 2021   ❤️ 1
    配下 host `151.101.100.133 raw.githubusercontent.com`
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2985 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 14:20 · PVG 22:20 · LAX 07:20 · JFK 10:20
    ♥ Do have faith in what you're doing.