Sub topic 6
Editing the Contents of a Smart Object
Assume you know the Layers panel, layer masks, basic blending, and how to apply filters. You should also understand that raster images are made of pixels. This chapter shows how to edit the pixels inside a smart object without losing the parent document's transforms or smart filters.
Open the smart object's contents
A smart object is a container that stores source artwork separately from the main document. Its layer thumbnail usually shows a small smart object badge.
- Select the smart object layer in the Layers panel.
- Choose Layer > Smart Objects > Edit Contents.
- Photoshop opens the contents in a separate document window. The file may be a PSB document for an embedded smart object.
- Edit the contents. You can paint, adjust layers, add text, or replace artwork.
- Choose File > Save in the contents document.
- Return to the parent document. Photoshop updates the smart object wherever it appears.
The parent layer keeps its scale, rotation, warp, and smart filters. Only the source artwork changes.
Follow a practical example
Suppose a poster contains a rotated smart object showing a product label. You need to correct the label text.
- Select the label's smart object layer.
- Open Edit Contents.
- In the new document, select the text layer and correct the spelling.
- Save and close the contents document.
- Inspect the poster. The corrected label should still follow the original perspective and rotation.
The smart object's canvas defines the source bounds. If the replacement artwork extends beyond those bounds, it may be clipped. If the new artwork is smaller, transparent areas may appear.
| Change inside the contents | What remains in the parent document |
|---|---|
| Text, colors, or pixels | Scale and rotation |
| Layer visibility | Warp and position |
| Canvas artwork | Smart filters and their settings |
Edit versus replace contents
Use Edit Contents when you want to change the existing source file. Use Layer > Smart Objects > Replace Contents when you want to substitute a different file while preserving the smart object's current transform.
Replacing contents is useful for repeated mockups. For example, a phone-screen mockup can keep its perspective warp while you replace one screen design with another. The replacement file should have a compatible aspect ratio. Otherwise, the result may look stretched, cropped, or unexpectedly positioned.
Exercise
You edit a smart object's contents, but the parent document does not change. What should you check first?
Show answer
Check that you saved the contents document. Then return to the parent document and confirm that the smart object layer is visible.