Sub topic 3
Creating smart objects: convert, place embedded, place linked
This chapter covers the three ways to get a smart object into a document: converting existing layers, placing a file as an embedded smart object, and placing a file as a linked smart object. It assumes you can work in the Layers panel, understand layer masks and basic blending, and know that raster images are made of pixels at a fixed resolution. The chapter covers how to recognize the result and the errors people commonly hit. The deeper comparison of embedded and linked files, and file upkeep, come in later chapters.
The three routes at a glance
Every smart object is a container that holds source content separately from the layer you see in the document. What differs between the routes is where that source content comes from and where it is stored.
| Route | Source content | Stored | Menu path |
|---|---|---|---|
| Convert to Smart Object | Pixels, shapes, text, or groups already in the document | Inside the PSD or PSB | Layer > Smart Objects > Convert to Smart Object |
| Place Embedded | An external file you pick | Copied into the document | File > Place Embedded |
| Place Linked | An external file you pick | Stays on disk, referenced by path | File > Place Linked |
Route 1: Convert existing layers
Use this route when the content is already in your document and you want to protect it before scaling, transforming, or filtering.
- Select one or more layers in the Layers panel.
- Choose Layer > Smart Objects > Convert to Smart Object. You can also right-click the layer and pick the same command from the context menu.
Photoshop packages the selected layers into a single smart object layer. If you selected several layers, they become one smart object whose contents are those layers. Their original stacking order and blend settings are preserved inside it, and you can reach them later through Edit Contents.
What you can convert:
- A pixel layer. The pixels are stored as the smart object's source.
- A text layer or shape layer. The result is a smart object that contains the vector content.
- A group. The whole group becomes one smart object.
- A Camera Raw file opened into Photoshop, which keeps its raw settings editable.
Two behaviors to know before you convert:
- Layer masks and layer styles on the original layer stay on the new smart object layer. They are not moved inside the container.
- Converting a text layer means you can no longer edit the text directly with the Type tool. You edit it through the smart object's contents instead. If you only need to scale text, a regular text layer is often the better choice.
Doing it with a script
The same command is available through the Action Manager. This is useful when you want to convert layers as part of a batch.
// Photoshop ExtendScript: convert the active layer(s) to a smart object
// (same as Layer > Smart Objects > Convert to Smart Object)
executeAction(stringIDToTypeID("newPlacedLayer"), undefined, DialogModes.NO);The command acts on whatever is currently selected. If nothing suitable is selected, for example a locked background with no selection state, it can fail or do nothing, so select the target layers first.
Route 2: Place Embedded
Choose File > Place Embedded when the content you want is a file on disk and you want it copied into your document.
- Open the destination document.
- Choose File > Place Embedded.
- Pick a file. Photoshop accepts raster images, PDFs, Adobe Illustrator artwork, and other supported formats.
- The file appears on the canvas with a bounding box. Adjust position and size if needed, then press Enter or click the checkmark in the options bar to commit.
The result is a new smart object layer. A copy of the file's data now lives inside your PSD. If you later move, rename, or delete the original file, the document is unaffected.
You can also drag a file from your operating system's file browser onto an open document window. In current versions of Photoshop, the default for dragged or pasted content is set in Preferences > General. Check which behavior your installation uses, because it changes whether a dragged file arrives embedded or linked.
When you place a vector file such as Illustrator artwork or a PDF, Photoshop keeps the vector data inside the smart object. The shapes are rasterized only at display time, at the resolution the document needs. That is why you can scale vector content up repeatedly and still get sharp edges.
Route 3: Place Linked
Choose File > Place Linked when the content should remain a separate file that other documents can also use.
- Save the destination document first. A document that has never been saved has no path to compare against, and this can make linking less predictable.
- Choose File > Place Linked.
- Pick the file and commit the placement as you would for an embedded file.
The layer appears as a smart object, but its source is the external file. Photoshop stores the path and displays a cached copy of the content. If you edit and save the original file in another application, the document updates to match when it can read the file.
Because the file stays outside the document, the PSD is smaller. The cost is that the document now depends on that external file being present at the path it recorded. Later chapters cover what happens when the file moves, and how to repair a broken link.
Recognizing a smart object
You can tell a smart object layer apart from an ordinary layer by looking at the Layers panel.
- The layer thumbnail has a small page icon in its lower-right corner.
- A linked smart object shows a chain-link icon on the thumbnail. An embedded one shows the page icon without a chain link.
- A linked smart object whose file cannot be found shows a warning icon instead.
- The Properties panel shows the smart object's details when the layer is selected, including whether it is embedded or linked, and gives you a button to edit its contents.
Switching between embedded and linked
Creation choice is not permanent. Photoshop provides commands under Layer > Smart Objects:
- Embed Linked converts a linked smart object to an embedded one by copying the data into the document.
- Convert to Linked saves the embedded content to a file you choose and links to it.
Use these when a project changes direction, for example when you finish a design and want to bundle everything into a single PSD for handoff.
Common errors
- Converting a layer you meant to keep editable. Converting text and shapes protects them from pixel loss but changes how you edit them. Decide first whether the layer needs to be scaled or filtered at all.
- Placing into an unsaved document. With Place Linked this leaves the link without a stable reference point. Save the document first.
- Assuming a linked file is inside the PSD. Sending only the PSD to a colleague leaves them with missing links. Embed the files, or send the linked files along with the PSD.
- Expecting Place to work on a locked state. Place commands need an open document. If File > Place Embedded or Place Linked is grayed out, check that a document is open and that no other command, such as an active transform, is waiting to be committed.
- Confusing smart object with smart filter. A smart object is the container. Filters applied to it become smart filters, covered in later chapters. Applying a filter to an ordinary layer is destructive.
Checking your work
After creating a smart object, confirm three things: the page icon appears on the thumbnail, the Properties panel reports the type you intended, and Edit Contents opens a separate document tab.
The Edit Contents command can also be run by script:
// Photoshop ExtendScript: open the contents of the active smart object layer for editing
// (same as Layer > Smart Objects > Edit Contents)
executeAction(stringIDToTypeID("placedLayerEditContents"), undefined, DialogModes.NO);If this call raises an error, the active layer is probably not a smart object. Check the thumbnail icon and select the correct layer.
Exercise
A designer receives a PSD with a product photo that the whole team reuses across ten banner documents. The photo is updated every week by a retoucher. Which creation route should each banner use, and what must the designer do before creating the first one?
Show answer
Use Place Linked in each banner, so that one updated source file feeds all ten documents. Before creating the first linked smart object, save the banner document so Photoshop has a path to record, and keep the shared photo in a stable folder that every teammate can reach.
Exercise
You select three layers (a photo, a text layer, and a shape) and run Convert to Smart Object. How many layers do you now have in that position, and where do you go to edit the original text?
Show answer
You have one smart object layer. To edit the text, choose Layer > Smart Objects > Edit Contents (or use the button in the Properties panel). The three original layers open in a separate document, where you can change the text with the Type tool and then save to update the parent document.