Session type: Standard (45 min)
Session level: Basic
Session language: English
Optimizing images can drastically decrease the page load time because, on average, 60% of a website’s page weight is made up of them. Responsive Web Design has changed how the web is built and that includes images too, because the aim is to deliver the highest quality image supported and nothing more. So today we have new standard elements and attributes to work with images widely supported by browsers (and polyfills for the rest) and Drupal has incorporated them.

In Drupal 8 the Responsive Image module is in core and is prepared to solve a wide range of needs. And, as usually happens in Drupal, there are several contributed modules that help us to improve the basic needs or to solve the special ones, like Art Direction.

I’ll start this session with a quick introduction about the different existing solutions for responsive images to be sure we are all at the same page. I’ll explain the difference between viewport sizing and Art Direction and how we are supposed to work with Drupal for each one, including demos. I’ll share tips and contrib modules that can make the developer and the final user live easier. I’ll also explain how lazy loading works and what solutions do we have in Drupal.

When you leave this session you’ll have an idea about the options offered for Drupal and enough knowledge to choose the correct one for your project.
Author bio
Cristina Chumillas studied design and discovered Drupal while she was a freelancer. She got involved in the Catalan Drupal Community for the Drupal Developer Days Barcelona in 2012 and she has been helping in the Spanish and Catalan communities since then. Working as a designer and frontend developer at Ymbra, her contributions to Drupal Core are focused on frontend and UX. She is part of the new initiative to create a new user-facing core theme for Drupal 8.