{"id":413,"date":"2016-07-24T19:15:41","date_gmt":"2016-07-24T19:15:41","guid":{"rendered":"https:\/\/2016.pittsburgh.wordcamp.org\/?post_type=wcb_session&#038;p=413"},"modified":"2016-08-08T10:53:29","modified_gmt":"2016-08-08T14:53:29","slug":"demystifying-responsive-images-in-wordpress","status":"publish","type":"wcb_session","link":"https:\/\/pittsburgh.wordcamp.org\/2016\/session\/demystifying-responsive-images-in-wordpress\/","title":{"rendered":"Demystifying Responsive Images in WordPress"},"content":{"rendered":"<p>Whether you are an advanced WordPress theme developer or simply editing content from the dashboard, there is one question that everyone asks at one point or another:<\/p>\n<p>What size should my images be?<\/p>\n<p>This already complex question takes on a whole new dynamic with the recent addition of responsive images in WordPress 4.4. While the basic concept of responsive images may be easy to grasp, a true understanding of the inner workings is far more elusive. In this talk, we will demystify responsive images and learn how to strike a proper balance between image performance and image quality within any context.<\/p>\n<p>Below is a brief overview of the main points we will touch upon throughout this talk:<\/p>\n<p>1. Introduce the Responsive Image Spectrum that ranges from high-quality at one end to high-performance at the other. A successful responsive web site delivers images that hit a sweet spot between performance and quality.<br \/>\n2. Compare the differences between a static image and a responsive image by inspecting two image tags with and without the srcset attribute.<br \/>\n3. Learn how a web browser chooses which image size gets loaded using a calculation known as the Perceivable Limit (Container Size x Display Density). This formula helps us determine the ideal image size within any context.<br \/>\n5. Identify the use cases in which WordPress can and cannot assist us with responsive images.<br \/>\n6. Discuss the practical application of responsive images when setting image sizes within a theme.<br \/>\n7. With our new understanding of responsive images, we will revisit the original question: What size should my images be?<\/p>\n<p>The talk should last about 35 minutes with remaining time open for Q&amp;A.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whether you are an advanced WordPress theme developer or simply editing content from the dashboard, there is one question that everyone asks at one point or another: What size should my images be? This already complex question takes on a &hellip; <a href=\"https:\/\/pittsburgh.wordcamp.org\/2016\/session\/demystifying-responsive-images-in-wordpress\/\">Continue reading <span class=\"assistive-text\">Demystifying Responsive Images in WordPress<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":14319314,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1474122600,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[412],"footnotes":""},"session_track":[13412],"session_category":[],"class_list":["post-413","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-2"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6CvCx-6F","session_date_time":{"date":"September 17, 2016","time":"10:30 am"},"session_speakers":[{"id":"412","slug":"kevin-hoffman","name":"Kevin Hoffman","link":"https:\/\/pittsburgh.wordcamp.org\/2016\/speaker\/kevin-hoffman\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/413\/revisions"}],"predecessor-version":[{"id":552,"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/413\/revisions\/552"}],"speakers":[{"embeddable":true,"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/412"}],"author":[{"embeddable":true,"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wporg\/v1\/users\/kevinwhoffman"}],"wp:attachment":[{"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=413"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=413"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/pittsburgh.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}