本文介绍了你如何上传图像的要点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



看看这个:



我试过的是在编辑模式下拖放图像文件。这似乎并没有在Crhome和FireFox下工作。

更新:使用GitHub来回发送电子邮件后,此功能(拖放二进制文件,图像)不被支持。

解决方案

我正在寻找同一个问题的答案,这里是我刚发现的: p>


  1. 您可以将gist克隆为git存储库并添加图片,然后推送至原点。请参阅。




  2. 我还没有尝试过上述解决方案,但很确定他们应该工作。我曾尝试使用以png更新我的要点,但最终显示了一个二进制文件要旨。

    How do you upload images to a gist?

    Take a look at this: https://gist.github.com/mbostock/5503544#file-thumbnail-png

    What I have tried is drag-and-drop the image file while in the edit mode of a gists. That didn't seem to work under Crhome and FireFox.

    Update: After a back and forth emails with GitHub, this feature (drag-and-drop binary files, images) isn't supported.

    解决方案

    I was looking for answer for the same question, here is what I just found:

    1. You can clone your gist as a git repository and add your picture, then push to origin. See loading-thumbnail-into-gist-for.

    2. There is a script written to do this: hecticjeff/gist-img.

    I have not tried the above solutions yet, but pretty sure they should work. I did try using defunkt/gist to update my gist with a png but ended up displaying a binary file in my gist.

    这篇关于你如何上传图像的要点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 02:37