阅读背景:

如何将图像添加到cloud9?

来源:互联网 

I have googled and searched for this but I need help. I feel really stupid because I have been using ide's for awhile. Just not cloud based. So how do I add a local image to my cloud9 html page?

我用Google搜索并搜索了这个,但我需要帮助。我觉得自己真的很蠢,因为我已经使用了ide一段时间了。只是不是基于云。那么如何将本地图像添加到我的cloud9 html页面?

3 个解决方案

#1


You could upload your image online then use href to use the online link.

您可以在线上传图像,然后使用href来使用在线链接。

Otherwise, if you'd still like your image to be local, you can upload files to your workspace like this.

否则,如果您仍然希望自己的图像是本地图像,则可以像这样将文件上传到工作区。

I hope this helps :)

我希望这有帮助 :)

#2


you can also use a simple save and drag method.

您还可以使用简单的保存和拖动方法。

  • save the image in your images folder on your desktop (or where ever)
  • 将图像保存在桌面上的图像文件夹中(或任何地方)

  • open cloud9 project so that you can see your file hierarchy
  • 打开cloud9项目,以便您可以看到您的文件层次结构

  • click on image saved to your computer
  • 单击保存到计算机的图像

  • drag and drop into images folder this is as of 03/2016
  • 拖放到图像文件夹,这是截至03/2016

#3


This works on rails projects on c9, not sure about different environments but worth a try.

这适用于c9上的rails项目,不确定不同的环境,但值得一试。

curl -O imagelink

卷曲-O imagelink

mv imagelink app/assets/images/

mv imagelink app / assets / images /


分享到: