Embed presentation




























![72 points-per-inchx [1+(1/3)]= 96 PPI](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-29-2048.jpg&f=jpg&w=240)


![[In 2013, Intel sees theirproduct line] offer a higherresolution experience than atop-of-the-line 1080p HDTV.”“http://liliputing.com/2012/04/intel-retina-laptop-desktop-displays-coming-in-2013.html](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-32-2048.jpg&f=jpg&w=240)












![Native speed test// @Modernizr's network-connection.jsconnection = navigator.connection || {type: 0 }, // polyfillisSlowConnection = connection.type == 3|| connection.type == 4| /^[23]g$/.test(connection.type);http://davidbcalhoun.com/2010/using-navigator-connection-android](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-45-2048.jpg&f=jpg&w=240)


![Filament .htaccess# Responsive Images# Mobile-First images that scale responsively and responsibly# Copyright 2010, Scott Jehl, Filament Group, Inc# Dual licensed under the MIT or GPL Version 2 licenses.# //Start Responsive ImagesRewriteEngine On# direct image requests to tempRewriteCond %{QUERY_STRING} full=(.*)&?RewriteRule (.*)rwd-router/.*.(jpe?g|png|gif|webp) $1%1 [L]# ignore trap for non-image requests, rewrite URL without trap segmentRewriteRule (.*)rwd-router/(.*)$ $1$2# //End Responsive Imageshttps://github.com/filamentgroup/Responsive-Images](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-48-2048.jpg&f=jpg&w=240)








































![Modernizr checkif(!Modernizr.svg){var images =document.getElementsByTagName("img");for(var i = 0; i < images.length; i++){var src = images[i].src.split(".");images[i].src = src[0] + ".png";}}http://stackoverflow.com/questions/12846852/svg-png-extension-switch](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-89-2048.jpg&f=jpg&w=240)






![Font-based icons<style>[data-icon]:before {font-family: 'icon-font';content: attr(data-icon);}</style><a href="http://example.com/cloud/save/"><span data-icon="C" aria-hidden="true"></span>Save to Cloud</a>](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-96-2048.jpg&f=jpg&w=240)





































The document discusses adaptive images in responsive web design. It covers techniques like using the browser width and screen resolution to determine the appropriate image size via JavaScript or media queries. It also discusses checking bandwidth and using techniques like picture, srcset, .htaccess rewriting, and single pixel GIFs to serve the right image. The document recommends using CSS media queries for design and covers workaround techniques like background-size, SVG, and font-based solutions.




























![72 points-per-inchx [1+(1/3)]= 96 PPI](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-29-2048.jpg&f=jpg&w=240)


![[In 2013, Intel sees theirproduct line] offer a higherresolution experience than atop-of-the-line 1080p HDTV.”“http://liliputing.com/2012/04/intel-retina-laptop-desktop-displays-coming-in-2013.html](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-32-2048.jpg&f=jpg&w=240)












![Native speed test// @Modernizr's network-connection.jsconnection = navigator.connection || {type: 0 }, // polyfillisSlowConnection = connection.type == 3|| connection.type == 4| /^[23]g$/.test(connection.type);http://davidbcalhoun.com/2010/using-navigator-connection-android](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-45-2048.jpg&f=jpg&w=240)


![Filament .htaccess# Responsive Images# Mobile-First images that scale responsively and responsibly# Copyright 2010, Scott Jehl, Filament Group, Inc# Dual licensed under the MIT or GPL Version 2 licenses.# //Start Responsive ImagesRewriteEngine On# direct image requests to tempRewriteCond %{QUERY_STRING} full=(.*)&?RewriteRule (.*)rwd-router/.*.(jpe?g|png|gif|webp) $1%1 [L]# ignore trap for non-image requests, rewrite URL without trap segmentRewriteRule (.*)rwd-router/(.*)$ $1$2# //End Responsive Imageshttps://github.com/filamentgroup/Responsive-Images](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-48-2048.jpg&f=jpg&w=240)








































![Modernizr checkif(!Modernizr.svg){var images =document.getElementsByTagName("img");for(var i = 0; i < images.length; i++){var src = images[i].src.split(".");images[i].src = src[0] + ".png";}}http://stackoverflow.com/questions/12846852/svg-png-extension-switch](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-89-2048.jpg&f=jpg&w=240)






![Font-based icons<style>[data-icon]:before {font-family: 'icon-font';content: attr(data-icon);}</style><a href="http://example.com/cloud/save/"><span data-icon="C" aria-hidden="true"></span>Save to Cloud</a>](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fadaptive-images-psuwebv2-130606095220-phpapp01%2f75%2fpsuweb-Adaptive-Images-in-Responsive-Web-Design-96-2048.jpg&f=jpg&w=240)



































