Sub topic 4
Editing contents and saving to update the scene
This chapter covers how a smart object's contents are edited and how those edits reach the mockup. It assumes you can work with layers, groups and masks, know basic blend modes, and understand the difference between raster pixels and vector shapes. It also assumes you have already created a placeholder smart object (the previous chapter) and can find your way around the Layers panel.
The working model: two documents, one link
A smart object stores its content as a separate, embedded document inside your mockup file. The mockup (the parent document) only shows a rendered preview of that content, transformed by whatever scaling, perspective, warp, masks and filters you have applied to the layer.
Editing contents means opening that embedded document, changing it, and saving it. Photoshop then re-renders the preview in the parent. The transforms and effects stay where they are. Only the source pixels or vectors change.
This is why mockups use smart objects. You can redesign the artwork a hundred times, and the perspective, shadows and lighting never need rebuilding.
Opening the contents
You can open the contents of a smart object in several ways:
- Double-click the smart object thumbnail in the Layers panel.
- Choose Layer > Smart Objects > Edit Contents.
- Choose "Edit Contents" from the Properties panel while the layer is selected.
Double-click the thumbnail itself, not the layer name. Double-clicking the name starts renaming the layer. Double-clicking the area to the right of a layer with effects can open the Layer Style dialog instead.
Photoshop opens the embedded content in a new tab. The tab name is the smart object's layer name followed by .psb or .psd. The first time you do this, Photoshop may show a message explaining that you must save the contents for the change to appear in the parent. You can turn that message off once you know the rule.
The contents tab is a normal Photoshop document. It has its own layers, canvas size, color mode and history. Your changes there do not touch the mockup until you save.
What the contents document is
The contents document is not a copy you are free to detach. Photoshop treats it as a temporary file tied to the layer you opened. You will usually see it saved as a .psb or .psd file in a temporary location. If you choose File > Save As on this tab, you create a new standalone file, and the link back to the mockup is not updated. This is a common mistake, and the troubleshooting section below covers it.
Saving to update the scene
To push your changes into the mockup, use File > Save (Ctrl+S on Windows, Cmd+S on macOS). Do not use Save As.
When you save:
- Photoshop writes the edited contents back to the smart object.
- The parent document re-renders the layer with its existing transform, mask, blend mode and smart filters.
- The mockup tab is marked as modified. You still need to save the mockup itself to keep the change.
That last point matters. Saving the contents updates the preview on screen, but it does not save the parent file to disk. If you close the mockup without saving, the new artwork is lost.
You can leave the contents tab open while you work. Each save updates the mockup. Many people keep the two tabs side by side or move the contents tab into a floating window, so they can see the effect of each change as it happens.
When you finish, close the contents tab. If you made unsaved changes, Photoshop asks whether to save them. Choose Save to apply them, or Don't Save to discard them.
What you can safely change in the contents
Inside the contents document you can do almost anything you would do in a normal file: add layers, paint, place text, apply filters, adjust colors, or swap images.
Some changes have specific effects on how the artwork appears in the scene.
| Change in the contents | Effect in the mockup |
|---|---|
| Edit pixels, text, or vector shapes inside the canvas | The scene updates. Position and transform are preserved. |
| Change the canvas size | The artwork rescales or reshapes in the scene to match the new bounds. |
| Change the color mode (for example RGB to CMYK) | Colors in the scene shift. The mockup converts the preview to its own mode. |
| Change the document resolution | Usually no visual change, but it affects sharpness if you later scale the layer. |
| Add content outside the canvas edge | It is clipped and will not appear in the scene. |
| Turn layers on or off | The scene updates to match the visible layers. |
Canvas size is the common surprise
The placeholder's shape in the scene is defined by the contents' canvas. If you change the canvas size or aspect ratio, the rendered result changes, and it can look stretched or distorted. If the contents were 2000 × 3000 pixels and you resize the canvas to 2000 × 2000, the layer's bounds are remapped to the existing transform. A portrait surface now shows a square design squeezed into it.
Keep the canvas dimensions and aspect ratio the same unless you intend to change them. The next chapter covers sizing artwork so it fits the placeholder.
Editing contents repeatedly: a short workflow
A reliable routine for iterating on a design:
- Select the smart object layer in the mockup.
- Double-click its thumbnail to open the contents.
- Edit the artwork. Keep the canvas size the same.
- Press Ctrl+S or Cmd+S.
- Switch back to the mockup tab and check the result.
- Repeat from step 3 until you are happy.
- Close the contents tab.
- Save the mockup file.
If the result in the mockup looks wrong, you can undo in the contents tab and save again. You can also use the History panel in the contents document. The parent has its own History, and a saved contents change appears there as a single step you can undo.
Editing smart objects that contain other smart objects
Smart objects can be nested. A poster design might contain a smart object for a logo, which in turn holds a vector file. Each level has its own contents tab.
To update the scene from a nested smart object, you must save each level in order, from the innermost out:
- Edit and save the innermost contents. This updates its parent smart object.
- Switch to that parent tab and save it. This updates the next level up.
- Continue until you reach the mockup.
If you skip a level, the outer document keeps showing the old render. Nesting is useful but adds steps, so use it deliberately.
Duplicates and shared contents
How you duplicate a smart object decides whether edits are shared.
- Duplicate Layer or Ctrl+J / Cmd+J: creates a second layer that points to the same contents. Editing one updates all copies. This suits a mockup with several identical screens or labels.
- New Smart Object via Copy: (Layer > Smart Objects > New Smart Object via Copy) creates an independent copy. Editing one does not change the other.
Choose shared copies when the same design should appear in several places, and independent copies when each place needs different artwork.
Common errors when editing contents
- Nothing changed in the mockup after editing. You probably closed the contents tab without saving, or used Save As. Reopen the contents, make the change, and press Ctrl+S or Cmd+S.
- The artwork looks stretched. The canvas size or aspect ratio of the contents changed. Restore the original canvas size with Image > Canvas Size, and save again.
- The mockup changes disappear after reopening. You saved the contents but not the mockup file. Save the parent document too.
- The edit tab will not open. Linked smart objects need their source file to be present. If the file is missing, the layer shows a warning icon, and you must relink it first. The troubleshooting chapter covers this.
- Edits in a duplicate appear in other layers. Those layers share contents. Use New Smart Object via Copy next time, or replace the contents of the one layer you want to change.
- Colors look different after saving. The contents document may use a different color profile than the mockup. Check Edit > Convert to Profile in the contents, and see the color consistency chapter.
Checking your work
After each save, check three things in the mockup:
- The artwork shows the change you made.
- The perspective, shadows and masks still line up.
- The edges are crisp and not blurry, which tells you the contents are large enough for the placeholder.
If edges look soft, the contents resolution is too low for the size at which the layer is displayed. The artwork needs more pixels, or the placeholder needs to be smaller. This links directly to the chapter on sizing artwork.
Exercise
You open a smart object's contents, change the poster's headline, and choose File > Save As to save a copy named poster-v2.psd. You switch to the mockup and see no change. Why, and how do you fix it?
Show answer
Save As created a standalone file and detached that tab from the smart object, so the mockup never received the update. Reopen the contents by double-clicking the layer thumbnail in the mockup, make the headline change again (or copy the layers over), and use File > Save (Ctrl+S or Cmd+S). Then save the mockup file itself.
Exercise
A mockup has three identical phone screens made with Ctrl+J. You edit the contents of the middle screen and all three change. You want the left screen to keep its old design. What should you do, and what should you have done originally?
Show answer
Undo the contents change, then select the left layer and choose Layer > Smart Objects > New Smart Object via Copy to make it independent. Then edit the middle layer's contents again. Originally, you should have used New Smart Object via Copy for any screen that needed different artwork, because Ctrl+J shares contents among all duplicates.