Sub topic 2
Choosing the right photo
This chapter assumes you can write an img element with its basic attributes, style it with CSS, and work with responsive layouts and breakpoints. It covers how to pick a photo before you touch any code. Later chapters cover the technical checks, cropping, and delivery in detail.
Selection is a design decision
Picking a photo is the first design decision about an image. It sets every decision that follows: the aspect ratio, where text can sit, how much the file weighs, and what the alt text says. A photo chosen late, because it "looks nice", often forces awkward crops, heavy files, or a message that works against the page.
The previous chapter set the idea that a photo has a job on the page. This chapter turns that job into a repeatable way of choosing. The method has three steps: write down the job, judge candidates against it, and filter out the ones that fail practical checks.
Start with a one-sentence brief
Before you open a stock library or a folder of shots, write one sentence that says what the photo must do. A useful brief names the page, the audience, and the effect you want.
- "On the pricing page, show a real person using the product so a small-business owner sees themselves in it."
- "On the article, show the finished dish so the reader knows what the recipe produces."
- "On the About page, show the actual team so visitors trust that real people answer the phone."
A brief like "make the page look nice" can't reject anything. A specific brief can reject most candidates quickly.
Common jobs a photo can do
Most photos on websites do one of a small number of jobs. Naming the job tells you what to look for.
| Job | What it needs | Typical risk |
|---|---|---|
| Inform | Shows the real thing: a product, a place, a result | Choosing an image that is attractive but shows something different |
| Evoke a feeling | Mood, light, and colour that match the brand | Generic imagery that could belong to any company |
| Build trust | Real people and real settings | Staged stock photos that visitors recognise as stock |
| Guide attention | A clear subject and direction that leads to a call to action | A busy scene that competes with the button |
| Decorate | Neutral, low-contrast content that stays out of the way | Spending bandwidth on an image that adds nothing |
If a photo's job is "decorate", ask whether the page needs it at all. An image with no job still costs download time and attention.
Judge candidates against the brief
Gather five to ten candidates, then compare them. Looking at several at once exposes differences that a single image hides.
Ask these questions of each candidate:
- Does it show what the brief says? Check the literal content. A photo captioned "team meeting" may show people in suits in a glass tower, while your audience is a three-person workshop.
- Is there one clear subject? You should be able to say what the photo is of in a few words. If two subjects compete, one will be lost when you crop for a narrow screen.
- Does it match the rest of the site? Compare colour temperature, lighting, and level of formality with your existing images. A warm, candid photo next to a cold, polished one looks like two different sites.
- Is the content specific and honest? Photos of the real product, real location, or real staff beat generic ones. Visitors notice the difference, and a mismatch can damage trust.
- Does it carry meaning that survives small sizes? On a phone, a hero image may be 360 pixels wide. Fine detail disappears, and only shapes, colour, and the main subject remain.
- Does it say anything you don't intend? Check backgrounds, signs, screens, and clothing for visible text, logos, or details that contradict the message.
Check representation
Photos of people tell visitors who the site is for. If every image shows the same kind of person, or the people shown don't resemble your real audience, visitors may conclude the site isn't for them. Avoid stereotyped scenes, such as one gender always in the leadership role. Also avoid including people only as decoration. This is a content judgment, not a technical one, so make it deliberately.
Pick for flexibility, not just for the best crop
You won't know all the places an image will appear. A photo chosen for a wide hero may also need to work as a square card thumbnail and a tall mobile banner. Prefer photos with these properties:
- Extra space around the subject. A tightly framed shot can only be cropped tighter. A shot with room around the subject can be cropped to wide, square, or tall.
- A subject that isn't pressed against an edge. If a face sits at the very edge of the frame, many crops will cut it.
- Calm areas. A sky, a wall, or a blurred background gives you somewhere to place text later.
- Orientation that suits the main use. A landscape photo is easier to use for a wide banner. A portrait-oriented photo is easier to use for a tall mobile layout. If you need both, look for a shot that gives you room in both directions, or plan to source two separate shots.
Later chapters show how to produce these crops. For now, the point is to select with them in mind.
Reject early on practical grounds
Some candidates look right but fail practical checks. Run these quick checks before you invest time in cropping. Each has its own chapter later in the tutorial.
- Resolution too low for the largest slot. A photo that is 800 pixels wide will look soft as a full-width hero on a large or high-density display.
- Unclear rights. If you can't confirm you may use the photo, or you lack consent from the people in it, don't use it.
- Poor focus or heavy noise. These flaws grow when the image is enlarged or sharpened.
- A subject that needs a long description. If you can't explain what the image shows in a sentence, it will be hard to write useful alt text, and it may not be communicating anything.
Treat these as filters, not a full evaluation. A photo can pass all of them and still fail the brief.
A decision flow
The following diagram shows the order of the checks. Brief and content come first, so you don't spend time on technical review of a photo that was never right.
A worked example
Suppose you build a page for a neighbourhood bakery. The brief is: "On the home page, show fresh bread being made by a real baker, so visitors see that the bread is baked on site."
You collect six candidates:
- A stock photo of a smiling person in a pristine white kitchen holding a croissant.
- A phone photo of the baker lifting a loaf from the stone oven, taken at the shop.
- A close-up of flour on a wooden table.
- A wide shot of the full shop front at midday.
- A flat-lay of assorted pastries on a plate.
- A photo of the baker's hands shaping dough, tightly framed.
Judge them against the brief:
- Photo 1 fails the "real baker, on site" requirement. It is stock, and visitors would meet the real shop later and notice the mismatch.
- Photo 3 shows no baking and no person, so it doesn't meet the brief.
- Photo 5 shows the product but not the on-site making.
- Photo 6 meets the brief, but it is tightly framed. The hands fill the frame, so a wide hero crop would be hard to make.
- Photo 4 shows the place but not the baking.
- Photo 2 meets the brief and is likely to be the pick, provided the practical checks pass. The baker is the clear subject, and the oven wall gives space around the figure.
Photo 2 was taken on a phone, so you check its resolution next. If it is large enough for the biggest slot, you keep it. If it is too small, a better choice may be to reshoot it with the same composition at higher quality rather than fall back to photo 1.
Common errors
- Choosing before briefing. Without a brief, you can't say why one photo beats another, and decisions drift toward whatever is most attractive.
- Using stock imagery where the real thing is the point. For trust-building pages, a real but slightly imperfect photo usually beats a polished generic one.
- Selecting one hero-shaped photo and discovering it can't be cropped to anything else. Check flexibility at selection time.
- Overlooking visible text and logos in the background. These cause rights problems and can clash with your own content.
- Using too many images. Each image competes for attention. A page with one strong photo usually communicates better than a page with six average ones.
Exercise
A page about a hiking guide service has this brief: "Show a real guide leading a small group on a trail, so first-time hikers feel the trips are safe and friendly." You have three candidates: (a) a dramatic stock photo of a lone hiker on a mountain peak at sunrise, (b) a phone photo of your guide with four clients on a wide trail, with open sky above them, and (c) a tight close-up of hiking boots. Which would you choose, and why? Name one thing you would check before using it.
Show answer
Choose (b). It shows a real guide with a small group, which matches the brief and the "safe and friendly" message for first-time hikers. The open sky leaves room to crop to different shapes and to place text. Photo (a) shows a lone hiker, which suggests risk and doesn't show guided trips. Photo (c) shows no people, so it can't build trust. Before using (b), check that its resolution is high enough for the largest slot, since it came from a phone, and confirm that the clients in it consented to appear on the site.