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 Responsive Images Image Delivery with Srcset and Sizes Srcset with Picturefill

Anton Bredl
Anton Bredl
15,359 Points

Downloading or Implementing Picturefill

I typically try to follow along with the videos in Sublime - how do I go about downloading, including, or using picturefill if I want to keep using Sublime for this text editor.

Does the JavaScript file need to be saved in a folder and linked to the current file I am working with?

Any help to better understand this process would be much appreciated!

1 Answer

Franciscus Agnew
Franciscus Agnew
23,097 Points

Hello Anton,

For basic usage of Picturefill download one of the files listed at the PictureFill website and reference it from the head section of your HTML document like so:

<script src="picturefill.js"></script>

The site also provides additional examples of using this plugin on your site. Please inform myself and other users if this helped solve you problem.

Good Luck,



Treehouse Forum Tips