How to add a image to cloud9?

泄露秘密 提交于 2019-12-12 12:31:24

问题


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?


回答1:


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

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
  • click on image saved to your computer
  • drag and drop into images folder this is as of 03/2016



回答3:


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

curl -O imagelink

mv imagelink app/assets/images/



来源:https://stackoverflow.com/questions/30069283/how-to-add-a-image-to-cloud9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!