Responsive Web Design: How to Find the Right Photos
The Web - open space for any web designer out there. Today's and even more so tomorrow's web is one big challenge for our industry. Web sites are supposed to adapt seamlessly to any screen size with any aspect ratio on any device. Desktop computers, tablets, and smartphones are only the beginning. No one knows what kind of device will be popular next year. On the other end of the spectrum, high definition displays are growing in popularity. What results from this is a balancing act in many ways. One of the more prominent challenges is the choice of adequate images. Images that work fine on a smartphone as well as on a UHD display. Today's article will focus this problem to help you choose the right photos for responsive web design.
Details – When Less is MoreConventional devices such as desktops or notebooks allow for a regular display of pictures in any resolution. Even the most detailed images are readily perceptible to the visitor's eye. On tablets and more so smartphones, this is an entirely different story. The larger the image, the more significant the difference when this picture has to be scaled down to smartphone dimensions. It goes without saying that image details can be hard to get or even be rendered invisible. This is not a problem as long as these lost features are not what defines the image as a whole. As soon as they are vital to the picture we need to find ways to keep these details perceptible even on smaller resolutions and screens. An established width for smartphone images is 320 pixels. As soon as your maximum image width is defined to fit the width of the whole viewport, you can securely use 320 pixel images as a guideline and simply check whether the vital image information will still be preserved. To give you a good example of how this should be done, we will use a typical business photo of a team meeting. The following photos, taken from stock media provider Bigstock show such a situation. While both photos will work correctly on large screens and resolutions, there are limitations on smaller displays. The picture with the eight team members is no longer optimal. People are too small, their faces barely perceptible. You should make sure that photos showing people always stay large enough to keep the facial expressions of the depicted visible. People and especially their faces should always make up the greater part of any image depicting people as the main image information.
Choosing the Right Photos From a SeriesOften we will try to convey as much information and content as possible through a single image. Regarding responsive designs, however, we should question that approach. Think about what is necessary and what can be omitted. To achieve this, it might be helpful to evaluate a row of similar photos. Bigstock offers a variety of images for a single topic, and often these images stem from a series. Series are especially helpful as the scenery stays the same while only the arrangement changes. Our image shows two pictures of a presentation. While the first image leaves no doubt that we are looking at a presentation meeting, the second demands only a small thought more to get that same information. Think of smaller displays and you will agree that the second image is much better suited for that use case. Details are waived, but the central information stays. You will of course always have to evaluate individually which details can be omitted. This will vary wildly. In our above example, we couldn't leave out the listeners should the listeners contribute to the site's content and not the presenter.
<div class="focal-point left-3 up-2">
<img src="img.jpg" width="400" height="300" alt="" />
In this example, the Focal Point is defined to be three grid units from the center to the left and then two units up. The class
focal-point is as mandatory as the surrounding
div around the image.
By default, the framework cuts down the image as soon as the browser window gets resized to sizes smaller than 767 pixels. You can easily adjust this value in the accompanying style sheet.
How Focal Point Works
Focal Point's mode of operation is easily understandable: Different CSS classes cut the image using negative
margin values. The unit for the value is
em. Use images with a 4:3 proportion for best results, add the additional class
portrait for 3:4 proportions.
Focal Point follows an interesting approach to optimize the presentation of images at smaller resolutions. With only one single file to embed and customize, there is no tedious learning curve to work along. If you need to refocus images while being scaled, give Focal Point a go...
Portrait or Landscape: Important for Full-width ImagesAnother important consideration in choosing suitable images for responsive design is whether to work with images in portrait or landscape orientation. There is no easy answer to that question. Desktop displays, as well as notebooks and mostly tablets, are used in landscape mode. Smartphones are typically used in portrait mode. Some users prefer to use their tablets in portrait mode, too. And others hold their smartphones in landscape position. This is not easy to predict. Using images in portrait resolution will lead to a full-screen presentation on a smartphone while the same image will be too large for a landscape device. If your layout is image-centric, this is a problem, as you will always lose parts of the picture message to the area below the fold. You will need to weigh the pros and cons individually. Bigstock lets you limit the search to either portrait or landscape photos. That makes it easier to find the right imagery once you made up your decision. Search Result Limited to Photos in Landscape Mode (Screenshot: Bigstock) As soon as you are looking for a full-screen background you should generally go for landscape orientation. It simply is the most used device orientation besides that of the smartphone. Consider that landscape photos will be cut and thus not be showing all of the image content. Well-suited Photos for Backgrounds Our example shows two photos that are very well suited as they don't carry much detail and don't have a clear focal point. Any part of the image will work as well as another. Backgrounds in Portrait Mode Even if more than half the image should get lost in portrait mode, this will not have any influence on the image message.
Care for Visitors on UHD DisplaysThe last vital thing to consider when choosing photos for responsive design is the growing popularity of high-definition displays. We have screens of 32 inches showing more than eight million pixels available these days. Stock providers such as Bigstock offer photos in different resolutions. Usually, the smallest resolutions will suffice for web design. But then there are these pixel monsters allowing to show images twice as detailed as conventional displays. Availability of Photos in Different Resolutions (Screenshot: Bigstock) Photos not prepared for razor-sharp presentation will look blurred on these displays. That's why we should care to offer images in appropriate resolutions. Already on smartphones we should not provide images smaller than 640 pixels wide to let them display correctly in landscape mode. Thanks to HTML5 and the powers of the <picture> element and the srcset attribute we can factor in all possible resolutions and pixel densities. Check out Bigstock today, and claim your free trial, where you get up to 35 free images over a 7-day period.
Disclaimer: This article is sponsored by Bigstock. Bigstock did not influence the content in any way besides delivering the images used. Visit BigStock!