You can see the styles that control the background image in style.
This means that the same image background is being used for all screen sizes. Resize the browser window and notice that the Network Log isn't showing any new requests being made by the page. You'll see that the only image that's being requested is background-desktop.jpg, which has a size of 1006KB: Press `Control+Shift+J` (or `Command+Option+J` on Mac) to open DevTools.Ĭheck out Inspect Network Activity With Chrome DevTools if you need more help with DevTools.Open the unoptimized demo in a new Chrome tab.Understand responsive background images #įirst, analyze the network traffic of the unoptimized demo: You can resize PNG, JPG, GIF, WEBP, TIFF and BMP images with the convenient option to maintain the original aspect ratio. ResizePixel's online image resizer provides a simple, yet powerful service to change the image size in pixels. You'll just need to map the Chrome DevTools screenshots in this guide back to the relevant features in your browser of choice. For most users, looking for a free and easy to use app to resize photos online, ResizePixel can be a solution. You can use another browser's DevTools instead if you prefer. This guide assumes that you're familiar with Chrome DevTools. This guide shows you how to use media queries to send images that are only as large as they need to be, a technique commonly known as responsive images. Using media queries is a popular technique for delivering tailored stylesheets and assets to different screens to reduce the amount of data transferred to users and improve page load performance. Many sites request heavy resources, like images, that are not optimized for certain screens, and send large CSS files containing styles that some devices will never use. However, to avoid hours of research for you, here we got some of the best tools you can use to resize background images. Like FocoClipping, there are several other background image resizers that you can use to change the size of a background. Understand responsive background images Part 2: Other 5 Background Image Resizer Recommendations.