Jeremiah Lewis
Jeremiah Lewis

Reputation: 43

How to add a image to 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?

Upvotes: 4

Views: 7300

Answers (3)

martaabba
martaabba

Reputation: 31

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

Upvotes: 3

JasonMattingly
JasonMattingly

Reputation: 110

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

curl -O imagelink

mv imagelink app/assets/images/

Upvotes: 0

mas4
mas4

Reputation: 1049

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 :)

Upvotes: 5

Related Questions