Animate a Photo in After Effects
StyleFrame Team7 min read
To animate a photo in After Effects, split the image into layers, turn them into 3D layers at different depths, and keyframe a camera move for parallax. For simpler jobs, keyframe Scale and Position for a Ken Burns move, or mask the subject and animate it separately from the background. Choose the method by how much depth the photo has and how much of the hidden background you need to rebuild.
Choose the Right Technique First
Most photo animation in After Effects falls into four approaches. They differ mainly in prep time and how convincing the result is on a large screen.
You can combine them. A parallax scene with a slow camera push, drifting fog layers, and a subtly puppeted character is a normal production setup.
Start with the Ken Burns Move
The fastest option is animating the photo layer's Transform properties. Drop the image into a composition (1920×1080 at 24 fps is a sensible default for web and broadcast-style edits), open Scale and Position, and set a keyframe at the start and another at the end.
Three things separate a professional version from a default one:
- Import more resolution than you need. If the photo is barely larger than the frame, a deep push will soften. Check effective resolution before committing to a deep zoom.
- Ease the keyframes. Apply Easy Ease, then open the Graph Editor and shape the velocity curve so the move doesn't start and stop mechanically.
- Move Position and Scale together. A pure scale reads as a digital zoom. Offsetting the anchor point or animating position along with scale feels more like a camera.
Ken Burns is fine for a lot of edits, but it never creates depth. For that you need layers.
Build a 2.5D Parallax Scene
Parallax is the most effective way to make a still feel like a shot. Near objects move more than distant ones relative to the camera, so a flat picture reads as space. Nearly all the work happens before you animate.
Separate the Photo into Layers
You have two main routes:
- Layered Photoshop file. If the image is a composite, export each element as its own PNG with transparency. Export every layer at the full document size, not cropped to its content. Each PNG then carries its own position inside the canvas, and everything lands stacked correctly when imported. Cropped exports arrive centered and need manual repositioning. Name the files in order (01_background, 02_midground, and so on), and note any blend modes. They don't survive PNG export, so you'll reapply Screen, Soft Light, or similar modes in After Effects.
- A single flat photo. Duplicate the layer and mask the foreground element with the Pen tool. Precision matters less than you'd think for small camera moves, but clean edges and strong subject separation make the job much easier.
Keep working resolution reasonable. Something around 2700 px on the long side is plenty for HD output, and larger files only make previews sluggish.
Rebuild What the Camera Will Reveal
When the foreground moves relative to the background, the pixels behind it have to exist. For a flat photo, this is where Content-Aware Fill earns its place:
- Mask the foreground element on a duplicate of the photo.
- Open the Content-Aware Fill panel (Window menu) and increase Alpha Expansion slightly, around 5 or 6, so the fill covers the edge fringe.
- Press N at the start of the timeline to shrink the work area to a single frame, then generate the fill layer.
- Freeze the frame (Time > Freeze Frame), extend it across the duration, and precompose it with the original background.
If the result has artifacts, clone or paint-patch in Photoshop and bring that clean plate back in. The rule is that you only need to repair what the camera move will actually expose. A 5% push needs far less than a 30% dolly.
Set Up the 3D Space and Camera
Convert each layer to 3D and space them along Z. Create a two-node camera (50 mm is a reasonable starting point) and use a custom camera view to check the spacing from the side.
Two details save time here:
- Reverse the stack if needed. Imported layers sometimes appear in the opposite order to what you want. Fix this before you start positioning in Z.
- Compensate scale for depth. When you push a layer back, it shrinks in frame. Scale it up proportionally so it still fills the same screen area, or you'll fight composition problems later.
Then keyframe the camera's Z position, or parent it to a null and animate the null, which gives you a single controller for moves like orbits. A small Y-rotation on a null often looks more natural than a straight push. Add Depth of Field on the camera and set the focus distance so the move resolves on your subject.
Make the Move Look Photographic
- Turn on motion blur for layers and the composition if you have fast moves.
- Keep camera travel modest. Large moves expose edges and stretch the illusion.
- Add atmosphere between layers: fog, dust, light leaks, or lens flares on their own 3D layers, set to Screen or Add.
- Apply a subtle grade and grain on an adjustment layer on top, so the layers feel like one capture.
Animate Inside the Photo
Parallax moves the camera. To make the subject itself move, you need extra techniques.
Masked Subject Animation
Once the foreground is isolated, animate its Scale, Position, and Rotation independently of the background. Even small differences in rate help. Keyframe the background and foreground at different speeds, then fine-tune in the Graph Editor. If the subject is partially off-frame, check that the edge of the photo never appears when the layer moves.
Puppet Tool
The Puppet tools can add secondary motion: hair, fabric, foliage, a tail, a raised arm. Treat pins carefully, because each one changes how the whole mesh behaves. Pin the areas you want rigid first, then add only as many moving pins as the motion needs. Subtle wins; heavy distortion looks like a warp filter.
Looping Elements
Cinemagraph-style effects work by combining a still with one looping element, such as steam, water, or flickering light. Separate the element, loop it with footage or an effect, and keep everything else frozen. The loop point is the hard part, so check it at full speed.
Add Dynamic Overlays Without Splitting the Image
When a photo can't be cleanly separated, use 3D space with texture overlays instead. Make the photo a 3D layer, add a glass, dust, or light texture above it as another 3D layer, and set the texture to Screen or Add. Pull the texture closer to the camera than the photo, then push the camera forward. The overlay moves faster than the image and produces parallax with no masking at all.
This approach also works for screenshots and UI captures. Place the image in 3D, angle the camera, parent it to a null, and animate rotation with eased keyframes.
Common Problems and Fixes
- Soft or blurry output: The source resolution is too low for the scale you animate to. Upscale before animating, or limit the move.
- Visible edges or holes: Extend your background layers beyond the frame, rebuild occluded areas, or reduce camera travel.
- Layers look pasted on: Add matching shadows, edge light, atmospheric depth, and a shared grade.
- Jittery movement: Check interpolation. Auto-Bezier handles with unequal spacing between keyframes often cause this; clean up the curves.
- Blend modes missing: Reapply them manually when importing PNG layers.
A Practical Workflow
- Decide on technique: Ken Burns, parallax, subject animation, or overlays.
- Prepare the source: check resolution, separate layers, repair occluded areas.
- Build the 3D scene and camera in After Effects, with scale compensation.
- Animate the camera or null with eased keyframes, then refine in the Graph Editor.
- Add atmosphere, motion blur, depth of field, and grain.
- Review at full resolution and full speed before rendering.
The most convincing photo animations are usually restrained: a small camera move, correct layer spacing, a clean fill behind each foreground element, and a consistent finish. Get those right and the photo reads as a shot rather than an effect.