如何在Github帖子中添加外部图像 [英] How to Add An External Image to A Github post

查看:107
本文介绍了如何在Github帖子中添加外部图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将托管在外部源上的图像添加到Github,但是当我确认要发布该图像时,我只会看到链接.

I want to add an image which is hosted on an external source to Github, but I see only link when I confirm it to be posted.

![Image](https://ibb.co/kOnOrb)

我使用这种格式,但是不起作用.我单击创建的链接,然后看到消息返回非图像内容类型.

I use this format but it does not work. I click on the link that is created and I see the message Non-Image content-type returned.

推荐答案

问题是,您提供的链接不是图像本身.它是包含该图像的网站的链接.
通过点击图片并复制图片的地址,您可以获得实际图片的网址.

The problem was, the link you provided wasn't the image itself. It was the link to a website that contained the image.
By clicking on the image and copying the adress of the image you get the url of the actual image.

这应该对您有用:

![Image](https://image.ibb.co/g0SdPw/Screenshot_from_2018_01_05_11_14_40.png)

这篇关于如何在Github帖子中添加外部图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆