Sub topic 12
Replacing Contents and Building Mockups
Assume you can create smart objects, use the Layers panel, and apply basic transforms and masks. This chapter focuses on replacing a smart object's source while keeping the layout of a mockup.
Why replacement works
A mockup is a scene that displays a design on another surface, such as a phone screen, product package, or poster. The design is usually a smart object. Photoshop stores the design separately from the mockup's position, scale, rotation, and smart filters.
When you replace the smart object's contents, Photoshop keeps those settings. This lets you test several designs without rebuilding the perspective or effects each time.
Edit Contents changes the existing source. Replace Contents swaps the source for another file.
Build a simple mockup
- Open the mockup document.
- Select the layer that should contain the artwork.
- If the artwork is not already a smart object, choose Layer > Smart Objects > Convert to Smart Object.
- Use Edit Contents to open the smart object source.
- Add or paste the design into the source document.
- Save and close the source document. The parent mockup updates automatically.
- In the parent document, use Edit > Transform commands if the artwork needs additional positioning.
For a reusable mockup, place the design on its own smart object layer. Add a perspective transform or warp to match the surface. Then apply effects such as blur, noise, or color adjustment as smart filters.
Replace the design
Select the smart object layer, then choose Layer > Smart Objects > Replace Contents. Select the new image file and confirm. Photoshop applies the existing transform and keeps the smart filters attached to the layer.
The replacement file can have different pixel dimensions or proportions. Photoshop still uses the existing transform, so the new artwork may appear stretched, cropped, or positioned unexpectedly. Open the smart object contents and resize the artwork when the new design needs a different fit.
| Task | Command | Result |
|---|---|---|
| Change the current design | Edit Contents | Updates the existing source |
| Swap in another design | Replace Contents | Keeps the mockup transform and filters |
| Change the surface position | Transform | Alters the smart object's placement |
Practical checks
After replacing contents, inspect the edges and perspective. Confirm that the smart filter mask still limits effects to the intended area. If the surface has highlights or shadows, place those layers above the smart object and set their blending modes separately. This preserves the illusion without baking the lighting into the design.
Exercise
Which command should you use to swap a logo in a finished package mockup while preserving its transform and smart filters?
Show answer
Select the smart object and choose Layer > Smart Objects > Replace Contents.