~/talk

Responsive images

Talkat DrupalCamp Spain 2017 · 2017-05-05..05-06· [web-performance, web-platform]
slides:none on file

Drupal 8 ships a Responsive Image module in core (machine name picture) that uses breakpoints declared in YAML, image styles and srcset/sizes so the browser picks the right file; use IMG for scaled images and <picture> only for art direction. For user-controlled cropping try image_widget_crop (manual crops per breakpoint) or the low-effort focal point contrib for automatic crops. Planning image styles with stepped scale-downs reduces variants. Drupal 7 still offers lazy-loading via the Picture module.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:27Why responsive images matter
  3. 3:21Basics of responsive images
  4. 9:13Art direction with picture element
  5. 11:24Responsive images in Drupal
  6. 25:14Contrib modules for art direction
  7. 33:20Responsive images in WYSIWYG
  8. 34:29Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.