Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,095 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