Nesting a photo inside itself over and over sounds like dozens of manual transformations, but Photoshop can record one transform and replay it with a single keystroke. Learn how Step and Repeat works, how to prepare an image by extending the canvas and rebuilding a screen to place copies into, and how swapping a scale for a rotation turns the same shortcut into a spiraling, staircase-like pattern instead.
We publish a new free tutorial every week, each one with sample images and PSDs you can download and follow along with. Sign up and they land straight in your inbox, along with early word on sales, events and subscriber-only offers.

Create Photo Inception by Using Step and Repeat
Turning a single photo into an infinite-looking series of pictures within pictures, like standing between two mirrors, sounds like it would require dozens of manual transformations. Photoshop’s Step and Repeat trick handles it automatically, recording one transform and replaying it endlessly with a single keyboard shortcut.
Extending the Canvas to Create Room
Before building the recursive effect, the image needed a bit more visual space at the top to make the eventual picture-in-picture element feel proportional to the whole frame.
-
Crop Outward to Add Space
Press C for the Crop tool, then drag the top edge outward to add extra canvas space above the existing image.
Filling the Extended Canvas With a Blank Background
Extending a background convincingly is far easier when the surrounding area is simple, like a plain wall, rather than something detailed.
-
Duplicate and Stretch the Background
Press Command + J to duplicate the background layer, then drag the duplicate upward to cover the newly extended canvas area.
-
Blend the Seam With a Layer Mask
Add a layer mask to the duplicated layer and mask away the bottom portion, blending the seam between the two copies so the extension looks like one continuous wall.
Why a Plain Wall Makes Canvas Extension Easier
Extending a background with a lot of visible detail, such as a forest or a busy cityscape, requires carefully matching complex patterns at the seam. A blank wall has no such pattern to match, which makes stretching and blending it into extra canvas space dramatically simpler.
Rebuilding a Larger Projector Screen
With more canvas space available, the projector screen within the image needed to be rebuilt larger to match the new proportions.
-
Select the New Screen Area
Use the Rectangular Marquee tool to draw out the new, larger boundary for the projector screen.
-
Paint the Frame and Background Colors
Sample a border color by holding Option (or Alt) with the Brush tool, paint the frame inside the selection, then invert the selection (Select > Inverse) and paint the surrounding wall color outside it.
-
Refine the Inner Screen Area
Transform the selection inward slightly (right-click a selection tool and choose Transform Selection) to define the screen’s interior, then fill that area with a light, neutral screen color.
Why a Rough Version Is Fine for a Tutorial
A perfectly refined projector screen, with pen-tool precision along every edge, would take considerably longer to build than a version made with a hard-edged brush and simple selections. For a piece meant to be posted and shared professionally, that extra precision is worth the time; for demonstrating the core technique, a rougher version communicates the idea just as effectively.
Creating a Flattened Copy to Place Inside the Screen
To put the entire image inside its own newly built screen, a single flattened copy of everything visible needs to exist on one layer.
-
Stamp Visible Onto a New Layer
Press Shift + Option + Command + N to create a new layer, then Shift + Option + Command + E to stamp a flattened copy of everything visible onto it.
Recording the First Transform Step
The key to the entire recursive effect is a specific keyboard shortcut that records a transformation so it can be repeated automatically.
-
Use Option/Alt + Command + T to Record a Step
Press Option (or Alt) + Command + T rather than the standard Free Transform shortcut. This creates a duplicate layer and records the transformation you are about to make as a repeatable step.
-
Scale and Position the Image Into the Screen
Hold Shift and Option while dragging a corner handle to scale the flattened copy down proportionally, then position it inside your newly built projector screen, and press Enter to commit.
Repeating the Transform Automatically
With the first transformation recorded, Photoshop can now replay that exact same scale-and-position move as many times as needed with a single shortcut.
-
Use Shift + Option + Command + T to Repeat
Press Shift + Option (or Alt) + Command + T to automatically repeat the recorded transformation, placing a scaled-down copy of the previous result inside the screen again.
-
Repeat as Many Times as You Want
Press the same shortcut repeatedly to keep nesting the image inside itself over and over, with each repetition automatically landing on its own new layer.
Why This Shortcut Saves So Much Manual Work
Without Step and Repeat, achieving this same nested effect would require manually duplicating a layer, transforming it by eye to match the previous scale and position, and repeating that process precisely for every additional repetition, which is prone to small inconsistencies. Recording the transform once and repeating it with a single keystroke guarantees every repetition matches exactly, with no manual repositioning required.
Cleaning Up Imperfect Repetitions With Layer Masks
Because the underlying screen shape may not be perfectly matched to every nested copy, a layer mask can hide any small imperfections along the way.
-
Mask Away Any Visible Imperfections
Add a layer mask to any of the nested layers and paint black over small imperfections, like a visible edge line that does not quite align, to clean up the final result.
Using Step and Repeat With Rotation Instead of Scale
The same recorded-transform trick works with any kind of transformation, not just scale, including rotation, which produces a completely different kind of recursive effect.
-
Record a Rotation and Move Instead of a Scale
Use Option (or Alt) + Command + T again, but this time scale down slightly while also rotating and moving the layer, then repeat with Shift + Option + Command + T to produce a spiraling, staircase-like recursive pattern instead of a straight nested one.
Why Rotation Produces a Completely Different Effect
The exact same underlying mechanism, record one transform and then repeat it, produces a very different visual result depending on which transformation you record. A pure scale-and-reposition move nests an image straight inside itself, while adding rotation to that same recorded step creates the kind of spiraling, staircase-like pattern often seen in architectural or fractal-style photography.
More Free Photoshop Tutorials
If you enjoyed this recursive compositing technique, these free tutorials cover related creative effects worth exploring next:
- How to Select Subjects and Refine Edges
- Three Ways to Use Blend If
- How to Color Grade in Photoshop Using Camera Raw
Why This Approach Works
The entire effect rests on a single distinction most people never discover in Photoshop: Option/Alt + Command + T does not just transform a layer, it records that transformation as a repeatable step, and Shift + Option + Command + T replays it automatically on a fresh duplicate. That one keyboard shortcut pair turns what would otherwise be tedious, error-prone manual repetition into a single keystroke you can press as many times as you want, with every repetition landing in exactly the right place. Because the technique works with any transformation, whether scale, rotation, position, or all three combined, it is flexible enough to produce very different recursive effects depending on what you record in that first step.
Final Thoughts
This photo courtesy of photographer Imadina made an ideal candidate for this effect thanks to its blank wall and existing projector screen, which minimized the manual reconstruction work needed before the actual technique could begin. Beyond a picture-in-a-picture novelty, the underlying Step and Repeat shortcut is genuinely useful any time you need multiple, precisely consistent copies of the same transformation. Keep it in mind for repeating patterns, staggered rotations, or any other effect that depends on identical, evenly spaced repetition.
Related Tutorials
From the Magazine View all
Stories, interviews and guides for photographers, new every week.
EditingLightCraft vs Lightroom: I Edited the Same RAW Files in BothThe free clone on the same RAW files: what matches, what breaks and who should switch.
InspirationRare Historical Photos: 13 of the Rarest Pictures Ever TakenFrom the earliest surviving picture of a person to the last passenger pigeon: who took each one and why it survives.
EditingArtCraft: Photoshop Cloned by AI in Two Weeks. Is It Legal?ArtCraft cloned Photoshop and Lightroom with AI and gave them away. Any good? Legal? Safe?
Master Photoshop, Lightroom and Photography
Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 100% money-back guarantee.
