Re: Ideal size for header image
Reply #16 –
Use the PICTURE element.
<picture>
<source media="(min-width: 40em)" srcset="large.jpg">
<source media="(min-width: 30em)" srcset="med.jpg">
<img src="small.jpg" alt="Fallback img.">
</picture>
Combine with Picturefill for older browsers and you're golden.