liveBook · Manning

Aspect ratio

As explained in WordPress Power Toolkit: Harness AI to build next-level websites

An aspect ratio is the proportional relationship between the width and height of an image or other rectangular visual area.

Aspect ratio describes an image’s shape: the relationship between its width and height. A landscape image is wider than it is tall; a portrait image is taller than it is wide. Choosing the right shape helps an image fit its place on a website. section 6.8.1 section 8.4

Use aspect ratio at three practical points:

  • When generating design ideas, specify a shape in the prompt. For example, Midjourney’s `--ar 3:2` requests a 3:2 image. section 4.3.2
  • When cropping, trim edges to change the shape while keeping the main subject in view. A rule-of-thirds grid can help position the focal point. section 6.8.1 section 6.8.2
  • When preparing website images, check the intended use. A full-screen background or hero image is listed at 16:9; their example pixel dimensions are 1,920 × 1,080 and 1,280 × 720, respectively. section 8.4

Try a different crop

Place the crop grid so its lower-right intersection sits on the subject. Trim the top and right, then check the result. If the remaining image looks too tall for a landscape scene, crop again to make it wider than it is high. Compare the shapes before settling on one. section 6.8.2

Figure 6.12 Try different shapes until you get a pleasing result.

Compare crop shapes to see how changing aspect ratio affects the finished scene. section 6.8.2

Aspect ratio is about shape, not image detail or file size. Resolution and pixel dimensions are separate considerations when preparing an image for a website. section 8.4

How WordPress Power Toolkit: Harness AI to build next-level websites covers it

How deep it goes
Defines image shape and applies it through prompts, cropping, and example dimensions without developing a mathematical treatment.
Examples
Uses a Midjourney `--ar 3:2` prompt, a focal-point crop, and 16:9 background and hero images.
What it assumes
Starts with familiar landscape and portrait shapes and explains aspect ratio without requiring a formula.
What you can do after
Apply it via Midjourney’s `--ar` setting or a photo editor’s crop tool to choose an image shape.
How it connects
Connects aspect ratio to landscape and portrait orientation, cropping, the rule of thirds, and image dimensions.

Also explained in

Compare how 2 books explain aspect ratio →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of WordPress Power Toolkit: Harness AI to build next-level websites. The section links point to the parts of the book it draws on.