Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added support for type attribute on sources #43

Closed
wants to merge 22 commits into
from

Conversation

Projects
None yet
2 participants

nwtn commented Sep 28, 2012

…works with empty type, image/svg+xml, and image/webp. See
http://www.w3.org/community/respimg/2012/08/21/thoughts-on-adding-a-type-attribute-2/

Not sure if this is something you'd want to add, since it's not officially part of the recommendation yet, but it'll certainly be useful for people trying to deliver vector graphics to devices that support them.

nwtn commented Oct 2, 2012

Updated this to include @Wilto's updates for Florian’s Compromise. Also for the sake of my own sanity split this into two files, one that uses picture/source and one that uses divs.

David Newton added some commits Oct 3, 2012

Added a WordPress plugin
WordPress automatically resizes images to create thumbnail, medium,
large, and fullsize versions. The plugin loads these conditionally
using picturefill. It also allows for SVG upload, and association of an
SVG file with a normal raster image, so that the SVG may be included as
a <source>
SVG & WordPress additions to readme
…also changed a few img src atts for consistency
Deal with whitespace in SVG field
(plus some cleanup)
Fixed img alt, added commented <source> back in for old IE, changed m…
…in-widths, fixed fallback img

…also stripped whitespace
fixed alt
also whitespace

@nwtn nwtn closed this Sep 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment