Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

mrx3
mrx3
8,742 Points

Is there anyway to add your images when using code pen.

I've put a number of my sites up on Code pen, and I have some images with these sites. But, the images don't show up because, you can't add a images folder. Do you have to embed the images in order for them to show up in code pen, or is there another way. Thank you in advance for any help.

3 Answers

i use (http://cloudinary.com/) to host my images and just copy and paste the link, It seems to work for me so far.

Olga Mendenhall
Olga Mendenhall
8,809 Points

Thanks a lot, Jason!!! :) Cloudinary is a really good service!

Alex Hedley
Alex Hedley
16,378 Points

You could host them in your public Dropbox and have the src attr point to that link.

There is an article on external files but this is for CSS or JS (http://blog.codepen.io/documentation/editor/adding-external-resources/)

mrx3
mrx3
8,742 Points

Hi Alex, nice to meet you. Thanks you for the link. Sorry if this question has been asked before.

Kevin Fitzhenry
Kevin Fitzhenry
30,096 Points

Alex Hedley Do you know if there is a way I can post a picture to the forum from my dropbox account? When I have tried so far, the link from dropbox doesn't end in .png so the link is not working. Any ideas?

Alex Hedley
Alex Hedley
16,378 Points

Hi :) No apologies needed. Hope you get it working, if not pop back and we can try something else