There’s a specific kind of embarrassment that hits when a client asks why their photos in a video look “flat” and you realize the Ken Burns pan-and-zoom you’ve been defaulting to for three years is, in fact, pretty boring. I’ve been there. I was there embarrassingly recently. The fix, it turns out, was sitting inside Photoshop the whole time, in a panel I’d mostly ignored: the Timeline. In Watch the full tutorial on YouTube, Peter McKinnon walks through the 2.5D parallax effect, a technique that makes still photos appear to have genuine depth by animating the foreground and background at different speeds and scales. The result looks almost like a 3D scene rendered from a flat image. It’s a little trippy. It’s also legitimately useful.

What I appreciate about McKinnon’s approach here is that he’s deliberately teaching the Photoshop version rather than the After Effects version. After Effects is the “right” tool for this in the same way a stand mixer is the right tool for baking, but sometimes you’re in a coffee shop with a laptop and you need to make something work. Photoshop’s Timeline panel is accessible, familiar, and gets the job done without requiring you to learn an entirely different application first. Once you understand the logic of keyframes and how layered depth creates the illusion of movement, moving to After Effects later is a much smaller leap.

The technique works best on photos with a clearly separated foreground and background. Think a person standing in front of a mountain range, or a subject in front of a city skyline. The more visual separation there is between the depth layers, the more convincing the final animation will be. Keep that in mind when you’re choosing your image.

Step 1: Choose the Right Photo and Open It in Photoshop

Presenter explaining foreground and background separation in photo Presenter explaining foreground and background separation in photo Not every photo works for this effect. You need an image where the foreground and background are visually distinct and ideally easy to separate with a selection. McKinnon uses a photo of himself standing in front of Lake Louise, which is a smart choice because his silhouette against the mountains and water is clean enough to mask without a ton of cleanup. Open your photo in Photoshop and before you do anything else, duplicate your background layer twice so you have a safety net. Label one layer “foreground” and one “background” to keep things sane.

Step 2: Separate the Foreground and Background onto Different Layers

Lake Louise photo open in Photoshop with layers panel visible Lake Louise photo open in Photoshop with layers panel visible This is where the actual work lives, and how difficult it is depends entirely on your image. Use whatever selection method makes sense for your photo: Quick Selection, the Object Selection tool, or even Select and Mask if your edges are complex. The goal is to cut your foreground subject out of the image and place it on its own layer, leaving the background layer beneath it. Once your foreground is isolated, you’ll need to fill in the gap it left on the background layer. Use Content-Aware Fill (Edit - Content-Aware Fill) to patch the area where your subject was. It won’t be perfect, but it doesn’t need to be since the foreground layer will cover it during most of the animation.

Step 3: Convert Both Layers to Smart Objects

Demonstrating the parallax animation result with two depth layers Demonstrating the parallax animation result with two depth layers Right-click each layer in the Layers panel and select “Convert to Smart Object.” This is non-negotiable. Smart Objects let Photoshop scale and transform your layers repeatedly without degrading the image quality, which matters because the entire animation is built on scaling and repositioning. If you skip this step and animate on regular pixel layers, you’ll get softness and degradation every time Photoshop recalculates the transform. I learned this lesson the same way I learn most Photoshop lessons, which is by doing it wrong first and wondering why everything looked terrible.

Step 4: Open the Timeline Panel

Photoshop interface with Timeline panel being accessed from Window menu Photoshop interface with Timeline panel being accessed from Window menu Go to Window - Timeline to open the Timeline panel at the bottom of your screen. Click “Create Video Timeline” when it appears. Photoshop will generate a timeline that shows each of your layers as individual tracks. Each track has a small arrow on the left side that expands to reveal animatable properties, including Transform, which is what you’ll be using. Set your timeline duration to whatever length feels right for the effect. McKinnon tends to work in the 3 to 5 second range for this kind of animation, which is long enough to read clearly but short enough to loop without feeling slow.

Step 5: Set Your Starting Keyframes

Timeline panel with keyframes being placed on foreground and background layers Timeline panel with keyframes being placed on foreground and background layers Move your playhead to the very beginning of the timeline, frame zero. Expand the Transform property for your foreground layer and click the stopwatch icon next to Transform to set a keyframe. Do the same for your background layer. These are your “before” positions. The state of each layer at this moment is baked in as the starting point. Nothing should move yet. At this stage both layers should be at 100% scale, sitting in their natural positions.

Step 6: Set Your Ending Keyframes and Add the Movement

Playhead moved to end of timeline with scale values being adjusted per layer Playhead moved to end of timeline with scale values being adjusted per layer Move your playhead to the end of the timeline. Now use Free Transform (Ctrl/Cmd + T) to scale your foreground layer up slightly, somewhere between 105% and 115% works well, and nudge it to keep it centered. Then do the same for the background layer, but use a different scale value, something closer to 103% to 108%. The key is that the two layers move and grow at different rates. That difference in speed is what creates the parallax illusion. Photoshop will automatically generate the ending keyframes when you transform the layers with the playhead at the end. Hit play and you should see the depth effect working.

Step 7: Export as a Video File

Export dialog in Photoshop with video render options visible Export dialog in Photoshop with video render options visible Go to File - Export - Render Video. Choose your format (H.264 is the most compatible for web and social), set your resolution to match your document size, and pick a frame rate. 24fps gives it a cinematic feel. 30fps is cleaner and more “video.” Either works. Render it out and you’ve got an animated photo file you can drop into Premiere, post directly to Instagram, or hand to a client who thought their photos were too boring for video content.

One Thing McKinnon Doesn’t Cover (That Bit Me Later)

If your Content-Aware Fill patch on the background layer is visibly bad, the animation will expose it. The movement means the camera is effectively “looking around” the foreground subject, and any poorly patched areas will slide into view during the animation. I’d recommend going back and cleaning up the background with the Clone Stamp or Healing Brush before you touch the Timeline. Spending an extra 10 minutes on the background fill saves you the horror of watching a smeared, warped patch drift across the frame in your final export.

The single biggest takeaway from this technique is that depth illusions are built on relative speed, not absolute movement. Neither layer has to move much. The magic is entirely in the difference between them. Once that clicks, you start seeing applications for it everywhere.

Watch the full tutorial on YouTube to see Peter McKinnon walk through each step with his own photos and get a feel for how the finished animation should look before you start cutting up your own images.