Directing customers to your business Compass Design logo - directing customers to your business
Menu

Responsive images – let WordPress do the hard work

At yesterday’s Multipack, I gave a presentation on a technique to use WordPress featured image functionality to send different sized image files to different devices – i.e. true responsive images.

This technique uses three things:

  1. a plugin called mobble
  2. a few lines of php
  3. WordPress featured images

I used a test site to demonstrate the technique and it also includes a full description of how to do it and the code.

This technique has its downsides and I’m hoping to develop a plugin that does this job more neatly and with more than one image per page/post – thanks to those of you at Multipack yesterday who gave some tips to help with that process!