What's are some best practices for responsive images (e.g. for section headers)?
Silly me is letting a client upload their own header images. I'm checking if they've uploaded something, and if found I add it as a background image with an inline style in the template.
But, how do I swap images based on device used?
Normally, I'd just add media queries and swap out the images in my css, but when they're inline backgrounds, I'm not sure what to do.
How do you handle it?
Topic responsive images Wordpress
Category Web