当前位置:   article > 正文

获取github中图片的引用链接url_github图床图片链接怎么获取

github图床图片链接怎么获取

获取github中图片的引用链接url

法一

直接复制浏览器方框中的地址,然后把blob改成row,得到:

https://github.com/hongyurain/Recommendation-with-modality-information/raw/main/IMG/modality-baby.jpg
  • 1

在这里插入图片描述

法二

根据文件的地址改写成:
https://raw.githubusercontent.com/用户名/仓库名/分支名/图片路径
如上面的写成:

https://raw.githubusercontent.com/hongyurain/Recommendation-with-modality-information/main/IMG/modality-baby.jpg
  • 1

法三

直接鼠标右击图片,复制url
在这里插入图片描述

https://github.com/hongyurain/Recommendation-with-modality-information/blob/main/IMG/modality-baby.jpg?raw=true
  • 1
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号