Codepen image hosting/portfolio project help

Codepen image hosting/portfolio project help


Hello FCC!

I’ve been working on the personal portfolio project (Portfolio). I’m stuck on trying to get a thumbnail image for the background on the projects. doesn’t have any image hosting unless you pay for pro, is there any way to get a thumbnail of the screenshot without having to upload an image on another website and link it?

Thank you!

My photo in my portfolio
How to save screenshots in codepen?
My Tribute Page (bootstrap, jQuery)
- Tribute Page - upload image from my hard drive to Code Pen With Out Go Pro
Where to store asset images?

Hi Nick,

The way I look at it is a bit different. I have a first try Portofolio but the images I use are from the web. For the thumbnails I haven’t used anything else but placeholders for now. If you have the projects on codepen you could link to them in the Portofolio thumbnail and have an image displayed.

Good luck



Many people use Dropbox.


Same problem here. Please post if you find a solution!


Dropbox, Google Drive, and Onedrive all can host images for small websites, blogs, etc. I’ve used Onedrive without issue.


You can signup for S3 on Amazon or Cloudinary (free tier) if you plan on using little traffic and storage for your images:

Another solution is to upload them to Imageshack or Github pages.


+1 for Cloudinary. It’s more than enough for our little projects. I use Cloudinary too.


Or just link the images direct from where they are now giving credits to their owners I guess … Simpler and doesn’t involve anything storage wise


Well ya my whole problem was not linking images where they are but using images that aren’t already hosted somewhere.


Cloudinary seems like the place for me as well. I just signed up for the service - not bad at all for small projects it can do some pretty amazing manipulations.


I’ve been using a github repo files for my codepens by using the raw link.
For instance in this pen

I used this link for the jumbotron image (see CSS code) “

You can find it here in the repo here: “

There used to be a Raw link on the asset page but that seems to have been removed but if you swap the first part of the url from “” to “” it should work fine.


You could try to use base64 data URIs.



<img src="data:image/gif;base64,R0lGOD...ADs=" />


@HyperSprite I followed your directions and my image is still not displaying. I believe I placed my image element to mimic yours and still unsuccessful. Any ideas?

<div class="img"></div>

.img {
background-image: url (“”);

Any assistance would be appreciated. Thanks


You seem to be missing the full path to your image. (username)/(repo)/(branch)/(maybe a folder)/ hello-world/james-baldwin-10_680-1389727054.jpg
Also, to test, you can put the link in your browser address bar.
Looking at my example: “

GIthub raw server address:
Folders (2)

I hope that clears things up.


Thanks, I see where I went wrong with the URL. I’ve corrected the full path issue and tested the link and it opens up in a browser. However, I still can’t get it to display in Codepen. I even plugged your link URL in my code and it also will not display. There may be an issue with my codepen setup or code. I will continue to research.


I use a Wordpress blog.


Thanks for sharing! I just used the Onedrive that my university provides and it worked just fine



CLOUDINARY worked for me like a charm! Thanks for the tip guys! Hadn’t heard of it before! :slight_smile:


PostImage is really good too :slight_smile:


Don’t direct link to someone else’s images, especially if it’s a portfolio piece. Some people view it as bandwidth theft, and the image host can potentially do malicious things to your project by updating the linked-to image file in ways one could view as either creative or malfeasant. See