Clever... that technique (loading a data URI of a small file and making sure it works) should work with other formats too. I smell an avenue for SVG support too here... ;)
-- brion On Mon, Apr 22, 2013 at 12:33 PM, Mathias Schindler < [email protected]> wrote: > On Mon, Apr 22, 2013 at 8:27 PM, Brion Vibber <[email protected]> wrote: > > > Another possibility is to preferably load images on view/section > expansion > > via JavaScript, which can potentially give you a chance to query the > format > > compatibility in client JS and avoid any HTTP-level negotiation. (And > also > > doesn't load any images until you need them.) Things to think about... > > format compatibility check is usually done with these few lines: > http://queryj.wordpress.com/2012/06/11/detecting-webp-support/ > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
