From the course: Making Your Site Retina-Ready
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Working with PictureFill
From the course: Making Your Site Retina-Ready
Working with PictureFill
- In this video we're gonna jump right in to working with PictureFill, attaching the library, downloading it, getting it on our pages. Then taking images that we already have and I'll talk about, and attaching them to our pages so we can get this to work. Once you go out here and take a look at the site, what I want you to do is go to this link right here, the PictureFill link. It'll take you to this site. If you scroll down here, you're gonna see Download. You're gonna see that we have a picturefill.js in a minified version. If you want to just download the minified version, you can do that, it's up to you. Now one thing to mention about this solution, if you will, is that we're gonna use JavaScript obviously. It's gonna require that JavaScript is on and working in the device, but in IE 9 this is not gonna work. We need another solution or something to help it called the matchMedia polyfill, and that's part of the download when you download this. Now this is the second iteration of…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.