.responsive-image {
max-width:100%;
height: auto;
}
That's it. Apply this to large images you need to scale and keep proper formatting despite browser size. My grid has a maximum width of 1180px. I then utilize images that are 1200px wide and allow them to respond to their parent elements width, which is affected by my responsive CSS.
Extra thought: More often than not these images are probably JPEG, and they might be a little large. Always check the download time when using Photoshop's "Save for Web" option. Also make sure to choose Progressive versus Baseline. There's a whole slew of what is better but in my honest opinion progressive is better. The JPEG downloads in layers versus all at once allowing the user to see an image more quickly, even if the quality is not 100%.
Want more? Sign up for my weekly newsletter