Skip to content

Photography in website design: choose, crop and prepare images that work

Images are the first thing visitors notice and the heaviest thing on the page. Treat them as design material and as performance cost, and both go well.

The team behind Folio at wrxstack9 min read

Use photography in website design by choosing a few real, well-lit images over many generic ones, cropping them to a consistent shape, exporting them at the size they are displayed, compressing them, and adding descriptive alt text. Lead with one strong image, keep text readable over it, and check every photo in light and dark modes and on a phone.

Role of images

Why photography carries so much weight

Visitors form an impression of a site in the first second, and that impression is mostly visual. A confident image tells them the site is cared for, and a blurry or generic one tells them the opposite. For a portfolio, photography is often the work itself. For a business, it is evidence that you exist: the premises, the team, the products, the results.

That is why real photographs outperform stock imagery for trust. A stock photo of smiling strangers in an office is recognisable and says nothing about you. A plain, honest photo of your actual shopfront or your actual hands at work tells a visitor something true. You do not need a studio: good daylight, a clean background and a steady phone go a long way.

Images also carry the weight of the page, literally. They are typically the largest files, so a few careless choices can turn a quick site into a slow one. Good practice treats both sides: visual quality and file discipline.

Choosing

What makes a photo right for a website

Ask these questions before an image earns a place.

Honest

Is it really yours?

Photos of your own work, people and place are distinctive. If you must use stock, choose natural images and avoid obvious clichés.

Clear

Is the subject obvious?

A viewer should understand the photo at thumbnail size. If the subject is lost when the image shrinks, choose a tighter crop or a different shot.

Light

Is the light good?

Soft natural light flatters nearly everything. Harsh flash, mixed colour casts and underexposed corners make a site look careless.

Space

Is there room for text?

If a headline will sit over the image, choose a photo with calm areas where text can be read, or place the text beside the image instead.

Fit

Does it match the others?

Similar colour temperature, contrast and framing across images make a site feel unified, even when the photos come from different days.

Preparing

Prepare every image in six steps

This routine takes a minute per photo and protects your page speed.

  1. Crop to a consistent shape.

    Choose a few ratios, such as 3 to 2 for wide images and 4 to 5 for portraits, and stick to them. Uniform shapes make grids look intentional.

  2. Adjust lightly.

    Correct exposure and white balance, and straighten horizons. Avoid heavy filters that date quickly or change the truth of what you show.

  3. Export at the size you need.

    A photo displayed at 1,200 pixels wide does not need to be 6,000. Match the file to its largest display size, with a larger copy for high-density screens if needed.

  4. Compress and choose a modern format.

    Modern formats such as WebP or AVIF are much smaller than older ones at similar quality. Many platforms convert and resize for you.

  5. Name and describe it.

    Give the file a plain name such as "dental-clinic-reception". Write alt text that describes what the photo shows in a sentence.

  6. Review it on a phone.

    Check the crop, the text legibility and the loading speed on a real device, then check dark mode.

Layout

Using photos in the layout

A hero image works when it clarifies the message. A photo of your product being made, your team at work or a finished project tells visitors something about you before they read a word. Keep the headline readable by using a photo with calm areas, or by placing the text on a plain panel beside the image.

In galleries, consistency matters more than variety. A neat grid of same-shaped thumbnails reads as confident, while a jumble of shapes feels unfinished. Lead with your best image, and avoid showing near-duplicates. Pick the strongest from each set.

For people, use portraits with a natural expression and a simple background. Show your real team on a business site, since faces help a visitor decide to call. On a personal site, one good portrait is worth more than a collage.

Captions help. A short line saying what the photo shows, where and when, adds context and reassures visitors that the work is genuine.

Quality

Alt text, accessibility and dark mode

Alt text is a short written description of an image, read aloud by screen readers and used by search engines. Describe what is meaningful: "A baker dusting flour over a tray of loaves in a bright kitchen" is more useful than "bread". Decorative images can have empty alt text so they are skipped. Do not stuff keywords into alt text.

Never put essential text inside an image, such as opening hours or prices. It cannot be read by assistive technology, cannot be translated and becomes blurry on small screens. Keep important details as real text beside the image.

Check images in both light and dark modes. Photos with white backgrounds look like boxes on a dark page, and very bright photos can glare. A thin border or rounded corners can help. Avoid altering the brightness of work you present as evidence, since it changes how the work looks.

Think about people in your photos. Get permission from anyone identifiable, especially customers and patients, and check local rules on consent and privacy with a qualified professional if unsure.

Businesses

Photos on a business website

For a business, a handful of images do most of the work: the exterior so people recognise the place, the interior or workspace, the team, the product or service in action, and a few results. Add the street view and a map link so visitors can find you, and make sure the photos are current.

Folio's business websites have a gallery block and sections such as Our work and Our story that put your photographs in context. Because every design supports both light and dark modes, the main task is to prepare your own images as described above.

Revisit your photos once a year. A renovated reception, a new team member or a seasonal menu is worth reshooting, and a current photo is a quiet sign that the business is open and well run.

Frequently asked questions

What size should website images be?

Match the file to the largest size it will be displayed. A full-width hero rarely needs more than about 1,600 to 2,400 pixels across, and a thumbnail far less. Smaller files load faster, and a good platform will resize them for different screens.

Which image format is best for websites?

WebP and AVIF give small files at good quality and are widely supported. JPEG remains fine for photographs if compressed sensibly, and PNG or SVG suit graphics with sharp edges or transparency.

Is stock photography acceptable on a website?

It can be, especially for abstract or supporting images. Avoid it for the team, premises or work you claim as your own. Visitors notice, and it can undermine trust.

What is alt text and why does it matter?

Alt text is a written description of an image used by screen readers and search engines. It makes your site usable for blind and low-vision visitors, and it gives search engines context. Keep it factual and concise.

How many photos should a homepage have?

Enough to show who you are and what you do, usually one strong lead image and a few supporting ones. More images slow the page, so choose quality and relevance over quantity.

Can I take good website photos with a phone?

Yes. Use soft daylight, a clean background, a steady hand and a level horizon. Clean the lens, avoid digital zoom and shoot a few angles. Light edits are enough for most business and portfolio uses.

Start free

Build the portfolio, resume, and site in one place.

A theme, an AI resume, a custom domain, and the SEO built in. No card required to start, and your work is yours to export any time.

Keep reading