Sub topic 8
Turning on Grid Overlays in Cameras and Editing Tools
A grid overlay is a set of guide lines drawn over a live preview or an open image. It makes the thirds geometry from the previous chapters visible, so you can place a subject without estimating by eye. This chapter covers where to find overlays, how the main kinds differ, and what goes wrong when you rely on them.
Prerequisites: you know what a frame, its width and height, and its aspect ratio are. You have a phone camera, a dedicated camera, or an editor such as Lightroom, Photoshop, or Figma. The code at the end is optional and assumes basic Python (with the Pillow library) and CSS.
What an overlay is and is not
An overlay is a display aid. It does not change the pixels in your file. A camera grid appears on the screen or in the viewfinder while you compose, and the saved photo contains no lines. An editor's crop overlay appears only while the crop tool is active. In both cases the lines help you decide. They do not enforce anything.
Overlays fall into three groups, and each answers a different question:
| Kind | Where it appears | Question it answers |
|---|---|---|
| Capture grid | Camera preview or viewfinder | How do I frame this before pressing the shutter? |
| Crop overlay | Crop tool in an editor | How do I recompose this existing image? |
| Persistent or layout grid | Canvas of an editor or design tool | How do I align several elements across a whole layout? |
Knowing the group tells you which setting to look for. Many people turn on a camera grid, then cannot find the same lines in an editor, because the editor's crop overlay and its canvas grid are separate settings.
Turning on grids in cameras
Phones
Phone cameras usually hide the grid in settings and leave it off by default. Menu names change between versions, so treat these paths as starting points:
- iPhone: open Settings, choose Camera, and switch on Grid. It draws a 3 by 3 thirds grid. Level and horizon helpers are separate options.
- Google Pixel (Google Camera): open the camera settings and look for a grid type option. Choices typically include 3 by 3, 4 by 4, and a golden-ratio grid, plus an off setting.
- Samsung and other Android makers: look for an option named Grid lines in the camera settings. Many offer a thirds grid and a square-crop variant.
The grid follows the active aspect ratio. If you switch from 4:3 to 16:9 or to square, the lines redraw over the visible area. If a preview looks cropped, check that the grid sits over the area that will be saved and not the full sensor area.
Mirrorless, DSLR, and compact cameras
Dedicated cameras usually let you pick which grid appears and where. Look in the display or monitor menu for names such as Grid display, Framing guides, or Grid lines. Common options are:
- A 3 by 3 thirds grid.
- A 4 by 4 grid, which puts lines at quarters.
- A grid with a center cross.
- A grid combined with an electronic level.
Some cameras apply the grid only to the rear screen and not to the electronic viewfinder, or the other way around. Check both. Cameras also often store the grid choice per shooting mode (photo and video separately), so enabling it for stills does not enable it for video.
Using a capture grid well
Use the grid for one decision at a time. First, level the horizon against a horizontal line. Second, place the subject on a line or intersection. Third, check that the lead room is on the correct side. A grid makes the first step reliable. Photos with a slightly tilted horizon look wrong even when the subject placement is good.
Turning on grids in editing tools
Crop overlays
Most photo editors can show a thirds overlay inside the crop tool, and they usually offer other overlays too.
- Lightroom (Classic and desktop apps): activate the Crop tool, then open the Tools menu and choose Crop Guide Overlay. Options include Grid, Thirds, Diagonal, Triangle, Golden Ratio, Golden Spiral, and Aspect Ratios. Pressing the O key cycles through them. Shift+O rotates the orientation of the diagonal, triangle, and spiral overlays.
- Photoshop: select the Crop tool and use the overlay option in the options bar. The choices include Rule of Thirds, Grid, Diagonal, Triangle, Golden Ratio, and Golden Spiral. The O key cycles here as well.
- Other editors (Affinity Photo, Capture One, GIMP, and mobile apps): the crop tool in most of them has a guides or overlay setting. In GIMP, for example, the Crop tool options include a Guides drop-down with Rule of thirds and Golden sections.
Crop overlays adjust to the crop box, not the original image. When you drag the box smaller, the thirds lines move with it. This is the behavior you want: the lines describe the new composition, not the old one.
Persistent canvas grids
A canvas grid stays on while you work with any tool. In Photoshop, View, then Show, then Grid turns it on. Its spacing comes from Preferences, in the Guides, Grid and Slices section, where you set a gridline spacing and a number of subdivisions. Those are fixed units such as pixels. A fixed-unit grid is not a thirds grid unless the spacing happens to be one third of your document width.
Two ways to get true thirds on a canvas:
- Divide your width by 3 and set the spacing to that value. For a 1920 pixel wide document, that is 640 pixels. Then check that the height divides evenly, or accept that horizontal lines will land off the third.
- Place guides manually at 33.33 and 66.67 percent of each dimension. Many tools support entering a guide position numerically, or percentage-based guide commands.
Layout grids in design tools
Design tools such as Figma treat grids as part of the frame. Select a frame, find Layout grid in the right panel, and add one. A layout grid can be a square grid, columns, or rows. To build a thirds overlay, add a Columns grid with a count of 3 and a Rows grid with a count of 3, both set to stretch with no gutter. The grid is tied to the frame, so it resizes when the frame does. This makes it better than hand-drawn lines for layout work.
For web pages, the CSS overlay below does the same thing in code.
Choosing which overlay to switch on
Use the task, not habit, to pick the overlay.
When thirds does not seem to fit, cycle through the other overlays before giving up on the crop. Diagonal and golden-ratio overlays suit images with strong leading lines or a clear spiral. A quarters grid is useful for architecture and product shots, where precise alignment matters more than balance.
Building your own overlay
You may need a thirds overlay where none exists, for example to review a batch of photos or to add a guide to a web gallery. The first example draws lines onto a copy of an image with Pillow. It never overwrites the original.
import sys
from PIL import Image, ImageDraw
def draw_thirds(src, dst, color=(255, 255, 255), thickness=2):
img = Image.open(src).convert("RGB")
width, height = img.size
draw = ImageDraw.Draw(img)
for i in (1, 2):
x = round(width * i / 3)
y = round(height * i / 3)
draw.line([(x, 0), (x, height)], fill=color, width=thickness)
draw.line([(0, y), (width, y)], fill=color, width=thickness)
img.save(dst)
if __name__ == "__main__":
draw_thirds(sys.argv[1], sys.argv[2])Run it as python thirds.py photo.jpg photo_grid.jpg. For a 1920 by 1080 image, the vertical lines land at x = 640 and x = 1280, and the horizontal lines at y = 360 and y = 720. These are the same values the thirds grid geometry in the earlier chapter produced.
For a web page, a nine-cell CSS grid sits on top of an image without changing it:
.photo {
position: relative;
}
.thirds-overlay {
position: absolute;
inset: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
pointer-events: none;
}
.thirds-overlay > div {
border: 1px solid rgba(255, 255, 255, 0.6);
}Place nine empty div elements inside .thirds-overlay, and put that element inside .photo. The setting pointer-events: none lets clicks pass through to the image beneath. The overlay is a visual aid, so a screen reader needs nothing from it, and you can hide it from assistive technology with aria-hidden="true" on the overlay element.
Both versions draw cell borders or lines in white. On a bright sky, white lines can vanish. Choose a semi-transparent line color that contrasts with the image, or offer a toggle between light and dark lines.
Common errors and gotchas
- Trusting the grid over the image. The grid is a guide. A subject sitting exactly on an intersection can still look awkward if its visual weight, direction, or background fights the placement.
- Grid on the wrong layer. In design tools, a layout grid belongs to a frame. If you apply it to the wrong frame, your thirds will be measured against the wrong width and height.
- Preview crops that differ from the saved file. Some cameras show a preview area slightly different from the final image, especially when digital zoom or a video crop is active. Check a test shot.
- Lines that cover the subject. On a small phone screen, a 4 by 4 grid can clutter the preview. If you find a grid distracting, a thirds grid or a level alone is enough.
- Mixed-up units. A pixel-based canvas grid does not match a thirds grid on documents whose size is not divisible by 3. Verify the line positions numerically.
- Forgetting the overlay is not exported. If you want visible guides in a shared file, such as an annotated teaching example, you must render them into a copy. A screenshot or the Pillow script above both work.
- Keeping the grid on while judging the final result. Turn the overlay off before you do the last review. Lines bias how you see balance, and you need the picture as a viewer will see it.
Summary
- Camera grids, crop overlays, and canvas or layout grids are three separate settings, found in different places.
- Phones enable the grid in the camera settings. Dedicated cameras use a display or grid menu, sometimes per screen and per mode.
- Editors show thirds in the crop tool, and the O key cycles overlays in Lightroom and Photoshop.
- Canvas grids use fixed spacing, so build true thirds with a spacing of one third of the width or with numeric guides.
- Layout grids in design tools can produce a thirds grid with three columns and three rows.
- Use overlays as aids and turn them off for your final judgment.
Exercise
A Photoshop document is 2400 by 1600 pixels. You want a persistent canvas grid that marks the thirds in both directions. What gridline spacing and subdivisions would you use for each axis, and what problem could arise if you used a single spacing value?
Show answer
The thirds lines sit at 800 pixels horizontally (2400 / 3) and about 533.33 pixels vertically (1600 / 3). A single spacing of 800 pixels with no subdivisions gives correct vertical lines at x = 800 and x = 1600, but horizontal lines at y = 800 only, which is the halfway point and not a third. The two axes need different spacing, so the canvas grid cannot be a true thirds grid. Use numeric guides at 33.33 and 66.67 percent of each dimension (x = 800 and 1600, y about 533 and 1067) instead.
Exercise
You turn on the grid in your phone camera, take a landscape shot, and later open it in an editor. The editor's crop tool shows a thirds overlay, but your saved photo has no lines. Explain why, and name two ways to make the lines visible in a copy of the file.
Show answer
Grid overlays are display aids drawn over the preview or crop box, not part of the image data, so the saved file contains no lines. To get visible lines in a copy, you can render them with a script such as the Pillow function that draws lines at one third and two thirds of the width and height, or you can draw guides in an editor and export a flattened copy, or take a screenshot of the editor's overlay while it is active.
Exercise
In Figma, how would you build a thirds overlay on a frame, and why is this better than drawing four lines by hand?
Show answer
Select the frame, add a Layout grid, and configure a Columns grid with count 3 and a Rows grid with count 3, both stretching with no gutter. The layout grid belongs to the frame, so the lines stay at one third and two thirds when the frame is resized. Four hand-drawn lines would stay at their old positions and need repositioning after every resize.