SlideShare a Scribd company logo
IMAGE
SCRIMMAGE
ATECHY,STRETCHY
ERIC PORTIS•SMASHINGCONFFREIBURG•2015
WHO?
QUESTION #1
SHIP HAPPENS
★URBANA!
RESPONSIVEIMAGES
COMMUNITYGROUP
http://ricg.io
WHAT!?
QUESTION #2
<img>
src="insufficent"><img
WHY?
QUESTION #3
BITMAPSARE
FLUID
FIXED
THEWEBIS
vs.
BITMAP IMAGES ARE THE
BIGGEST PERFORMANCE
BOTTLENECK ON THE
RESPONSIVE WEB
63%
oftheweb is
IMAGES
http://httparchive.org/interesting.php#bytesperpage
736 kb
2015
2011228 kb
http://httparchive.org/trends.php#bytesImg&reqImg
30”CinemaDisplay2560 x 1600
iPhone6Plus2280 x 1242 (logical)
30”CinemaDisplay2560 x 1600
iPhone6Plus2280 x 1242 (logical)
30”CinemaDisplay2560 x 1600
RetinaiMac5120 x 2880
1024 x 768
32%
1280x 800
23%
1280x 1024
11%
1440x 900
10%
2009
OTHER
4%
OTHER
24%
1366 x768
13%
1920x1080
9%
360x640
8%
768x 1024
7%
2015
http://statcounter.com
1024 x 768
32%
1280x 800
23%
1280x 1024
11%
1440x 900
10%
http://statcounter.com
2009
OTHER
4%
OTHER
24%
1366 x768
13%
1920x1080
9%
360x640
8%
768x 1024
7%
2015
VIEWPORTWIDTH WASTEDIMAGE BYTES
360px 72%
760px 53%
1260px 42%
http://timkadlec.com/2013/06/why-we-need-responsive-images/
TIM KADLEC:
Mobile Image Processing
VIDEO: https://www.youtube.com/watch?v=jP68rCjSSjM
SLIDES:https://speakerdeck.com/tkadlec/mobile-image-processing-at-velocity-sc-2015
ADAPTABILITY PRESENTS
NEW OPPORTUNITIES FOR
VISUAL DESIGN
The day after the release of
the original iPhone
~10 years later
nytimes.com on a small screen
Cropping
Some sort of… mammal? Look at that adorable
Portuguese Water dog!
Otherwise altering
Otherwise altering
HOW?
QUESTION #4
LIVECODING!
x descriptors
2x =(min-device-pixel-ratio:2)?
NO!
IF theuser’sdevicehasadevice-pixel-ratio>=2
THEN loadthisresource.
NO EXCEPTIONS!
MEDIA QUERIES:
Hey, browser! Herearesomefun
factsabouttheavailableresources.
SRCSETDESCRIPTORS:
YOU DECIDE!
x 2x
<img>
large.jpg
2x=thisresourcehas an
“image density”of2!
resource width in pixels
— <img>’s width on the layout inCSSpx
= image density e.g., 2x
.
.
medium.jpgis640 pixelswide
— its<img>hasawidthof640 pxonthelayout
= medium.jpghasanimagedensityof 1x
..
large.jpgis1280pixelswide
— its<img>hasawidthof640 pxonthelayout
= large.jpg hasanimagedensityof 2x
..
resource width
— <img>’s width on the layout
= image density
.
.
xdescriptorsonly work for
fixed-widthimages!
LIVECODING!
w and sizes
LIVECODING!
picture and media
TAYLORHUNT:
When Responsive Images Get Ugly
http://codepen.io/Tigt/blog/when-responsive-images-get-ugly
LIVECODING!
picture and type
“Groovy”
WHEN?
QUESTION #5
NOW!
X W+SIZES PICTURE
CHROME 34+ 38+ 38+
OPERA 21+ 25+ 25+
FIREFOX 38+ 38+ 38+
IE Nope.
EDGE 12+ 12+ SOON!
SAFARI 7.1+ 9+ ?*
*Butprobablysoonish
X W+SIZES PICTURE
ANDROIDSTOCK Nope.
CHROMEFORANDROID 44+ 44+ 44+
OPERAMINI Impossible?
IEMOBILE Nada.
EDGEMOBILE Probably!
iOSSAFARI 7.1+ 9+ ?*
*Butprobablysoonish
ENHANCE
<imgsrc=“mobile-first.jpg”
srcset=“progressive.jpg640w,
enhancement.jpg1280w,
works.jpg1920w”
alt=“Really.”/>
https://scottjehl.github.io/picturefill/
POLYFILL
WHEN YOU NEED TO
Picturefill!
image-set():letsyouusesrcsetsyntaxinCSS
Client Hints: letyoudosrcset-ythingsontheserver
Container Queries: The RICG’snexttrick?
WICG: Everydaydevelopersshapingtheweb
EXTRA CREDIT
THANKS!
ericportis.com
@etportis
P.S.Iwriteafortnightlyrespimgnewsletter!
Signuphere:ricg.io

More Related Content

Similar to A Techy, Stretchy Image Scrimmage

Bit squatting
Bit squattingBit squatting
Bit squatting
Avradeep Bhattacharya
 
Making the Web Fireproof: A Building Code for Websites
Making the Web Fireproof: A Building Code for WebsitesMaking the Web Fireproof: A Building Code for Websites
Making the Web Fireproof: A Building Code for Websites
Dylan Wilbanks
 
Sxsw conference presentation
Sxsw conference presentationSxsw conference presentation
Sxsw conference presentation
Marcello Milteer
 
Sxsw conference presentation
Sxsw conference presentationSxsw conference presentation
Sxsw conference presentation
Algebraix
 
Speed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceSpeed is Essential for a Great Web Experience
Speed is Essential for a Great Web Experience
Andy Davies
 
Conteúdos Av para novos media - aula1
Conteúdos Av para novos media - aula1Conteúdos Av para novos media - aula1
Conteúdos Av para novos media - aula1
Pedro Almeida
 
Parisjs fastvideoandimages
Parisjs fastvideoandimagesParisjs fastvideoandimages
Parisjs fastvideoandimages
Doug Sillars
 
Its timetostopstalling barcelonajs
Its timetostopstalling barcelonajsIts timetostopstalling barcelonajs
Its timetostopstalling barcelonajs
Doug Sillars
 
Cloud Distribution Forecast: Unsettled
Cloud Distribution Forecast: UnsettledCloud Distribution Forecast: Unsettled
Cloud Distribution Forecast: Unsettled
Dan Young
 
Its timetostopstalling cambridgemot
Its timetostopstalling cambridgemotIts timetostopstalling cambridgemot
Its timetostopstalling cambridgemot
Doug Sillars
 
Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"
Fwdays
 
Waterford fast images
Waterford fast imagesWaterford fast images
Waterford fast images
Doug Sillars
 
Kill Your Darlings: Solving Design by Throwing Away Your Prototypes
Kill Your Darlings: Solving Design by Throwing Away Your PrototypesKill Your Darlings: Solving Design by Throwing Away Your Prototypes
Kill Your Darlings: Solving Design by Throwing Away Your Prototypes
jsokohl
 
IoT and Energy
IoT and EnergyIoT and Energy
IoT and Energy
Tom Raftery
 
Reaching Sustainability with Online Instruction: Reduce, Reuse, and Recycle
Reaching Sustainability with Online Instruction: Reduce, Reuse, and RecycleReaching Sustainability with Online Instruction: Reduce, Reuse, and Recycle
Reaching Sustainability with Online Instruction: Reduce, Reuse, and Recycle
Heidi Steiner Burkhardt
 
Its timetostopstalling londroid
Its timetostopstalling londroidIts timetostopstalling londroid
Its timetostopstalling londroid
Doug Sillars
 
Going Fast on the Mobile Web
Going Fast on the Mobile WebGoing Fast on the Mobile Web
Going Fast on the Mobile Web
Jason Grigsby
 
Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...
Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...
Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...
Ian Fenwick, Digital Marketing
 
Beautiful and Fast Images
Beautiful and Fast Images Beautiful and Fast Images
Beautiful and Fast Images
Doug Sillars
 
Native vs. Mobile Web vs. Hybrid Apps for Mobile Development
Native vs. Mobile Web vs. Hybrid Apps for Mobile DevelopmentNative vs. Mobile Web vs. Hybrid Apps for Mobile Development
Native vs. Mobile Web vs. Hybrid Apps for Mobile Development
Jason Grigsby
 

Similar to A Techy, Stretchy Image Scrimmage (20)

Bit squatting
Bit squattingBit squatting
Bit squatting
 
Making the Web Fireproof: A Building Code for Websites
Making the Web Fireproof: A Building Code for WebsitesMaking the Web Fireproof: A Building Code for Websites
Making the Web Fireproof: A Building Code for Websites
 
Sxsw conference presentation
Sxsw conference presentationSxsw conference presentation
Sxsw conference presentation
 
Sxsw conference presentation
Sxsw conference presentationSxsw conference presentation
Sxsw conference presentation
 
Speed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceSpeed is Essential for a Great Web Experience
Speed is Essential for a Great Web Experience
 
Conteúdos Av para novos media - aula1
Conteúdos Av para novos media - aula1Conteúdos Av para novos media - aula1
Conteúdos Av para novos media - aula1
 
Parisjs fastvideoandimages
Parisjs fastvideoandimagesParisjs fastvideoandimages
Parisjs fastvideoandimages
 
Its timetostopstalling barcelonajs
Its timetostopstalling barcelonajsIts timetostopstalling barcelonajs
Its timetostopstalling barcelonajs
 
Cloud Distribution Forecast: Unsettled
Cloud Distribution Forecast: UnsettledCloud Distribution Forecast: Unsettled
Cloud Distribution Forecast: Unsettled
 
Its timetostopstalling cambridgemot
Its timetostopstalling cambridgemotIts timetostopstalling cambridgemot
Its timetostopstalling cambridgemot
 
Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"
 
Waterford fast images
Waterford fast imagesWaterford fast images
Waterford fast images
 
Kill Your Darlings: Solving Design by Throwing Away Your Prototypes
Kill Your Darlings: Solving Design by Throwing Away Your PrototypesKill Your Darlings: Solving Design by Throwing Away Your Prototypes
Kill Your Darlings: Solving Design by Throwing Away Your Prototypes
 
IoT and Energy
IoT and EnergyIoT and Energy
IoT and Energy
 
Reaching Sustainability with Online Instruction: Reduce, Reuse, and Recycle
Reaching Sustainability with Online Instruction: Reduce, Reuse, and RecycleReaching Sustainability with Online Instruction: Reduce, Reuse, and Recycle
Reaching Sustainability with Online Instruction: Reduce, Reuse, and Recycle
 
Its timetostopstalling londroid
Its timetostopstalling londroidIts timetostopstalling londroid
Its timetostopstalling londroid
 
Going Fast on the Mobile Web
Going Fast on the Mobile WebGoing Fast on the Mobile Web
Going Fast on the Mobile Web
 
Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...
Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...
Launch of Vietnamese Edition of DigiMarketing: The Esential Guide to New Medi...
 
Beautiful and Fast Images
Beautiful and Fast Images Beautiful and Fast Images
Beautiful and Fast Images
 
Native vs. Mobile Web vs. Hybrid Apps for Mobile Development
Native vs. Mobile Web vs. Hybrid Apps for Mobile DevelopmentNative vs. Mobile Web vs. Hybrid Apps for Mobile Development
Native vs. Mobile Web vs. Hybrid Apps for Mobile Development
 

Recently uploaded

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
FODUU
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 

Recently uploaded (20)

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 

A Techy, Stretchy Image Scrimmage