github 不显示图片

修改 host

windows host位置:C:\Windows\System32\drivers\etc\hosts
mac linux /etc/hots

151.101.184.133 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.githubusercontent.com
151.101.184.133 avatars3.githubusercontent.com
151.101.184.133 avatars4.githubusercontent.com
151.101.184.133 avatars5.githubusercontent.com
151.101.184.133 avatars6.githubusercontent.com
151.101.184.133 avatars7.githubusercontent.com
151.101.184.133 avatars8.githubusercontent.com

找域名ip

找到不显示的图片的域名,然后在下面的网站找对应的IP:

https://www.ipaddress.com/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
如果在GitHub页面上无法显示图片,有几种可能的原因。一种可能是图片的路径不正确。你可以检查README文件中图片的地址是否正确,确保图片的路径与实际存储位置匹配。另一种可能是图片的权限设置不正确,你需要确保图片的权限设置为公开,这样其他人才能够在GitHub上访问到图片。还有一种可能是图片的大小超过了GitHub的限制,GitHub有一个文件大小限制,如果图片大小超过了这个限制,就无法显示。另外,如果你使用了本地图片链接而不是网络图片链接,图片是无法在GitHub显示的。你可以将图片上传到一个图床或者图片托管服务,然后使用图片的网络链接来在GitHub显示图片。这样其他人就可以访问到图片了。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [解决提交README.md到github后,图片无法显示问题](https://download.csdn.net/download/weixin_38732740/14036934)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [解决github 图片无法显示的问题](https://blog.csdn.net/weixin_45549370/article/details/119383624)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [解决github上的图片无法显示的问题](https://blog.csdn.net/CSDN_Gao_16/article/details/126203665)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值