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 trialmrx3
8,742 PointsIs 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
jason witham
5,430 Pointsi use (http://cloudinary.com/) to host my images and just copy and paste the link, It seems to work for me so far.
Alex Hedley
16,381 PointsYou 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
8,742 PointsHi Alex, nice to meet you. Thanks you for the link. Sorry if this question has been asked before.
Kevin Fitzhenry
30,096 PointsAlex 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
16,381 Pointshttp://cantonbecker.com/work/musings/2014/how-to-directly-link-or-embed-dropbox-images/
you could try adding ?raw=1 to the end of the link
Alex Hedley
16,381 PointsHi :) No apologies needed. Hope you get it working, if not pop back and we can try something else
Olga Mendenhall
8,809 PointsOlga Mendenhall
8,809 PointsThanks a lot, Jason!!! :) Cloudinary is a really good service!