rbuchberger / jekyll_picture_tag

Easy responsive images for Jekyll.
https://rbuchberger.github.io/jekyll_picture_tag/
BSD 3-Clause "New" or "Revised" License
623 stars 106 forks source link

Add Support for Picturefill 2 #38

Closed swashcap closed 10 years ago

swashcap commented 10 years ago

Syntax has changed, notably the use of srcset in place of src:

<picture>
  <source srcset="examples/images/extralarge.jpg" media="(min-width: 1000px)">
  <source srcset="examples/images/large.jpg" media="(min-width: 800px)">
  <source srcset="examples/images/medium.jpg">
  <img srcset="examples/images/medium.jpg" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
</picture>
patrickcate commented 10 years ago

This would be great to see since Picturefill 2 now has a stable 2.0 release.

robwierzbowski commented 10 years ago

Essential for 2.0.

mattdsteele commented 10 years ago

Has anyone started on this? I might be able to give it a go this week.

robwierzbowski commented 10 years ago

Nope. If you want to replace the span output with new picture output that would be awesome. Not sure what it's going to need for size/srcset.

On Tuesday, June 10, 2014, Matt Steele notifications@github.com wrote:

Has anyone started on this? I might be able to give it a go this week.

— Reply to this email directly or view it on GitHub https://github.com/robwierzbowski/jekyll-picture-tag/issues/38#issuecomment-45571672 .

Rob Wierzbowski @robwierzbowski http://twitter.com/#!/robwierzbowski http://github.com/robwierzbowski http://robwierzbowski.com