Sub topic 15
Managing linked files and fixing missing links
This chapter covers how linked smart objects stay connected to files on disk, how to spot problems in the Layers panel, and how to repair a broken connection. It assumes you can place a linked smart object (File > Place Linked) and that you understand the difference between embedded and linked smart objects from the earlier chapters.
How a link works
A linked smart object does not store its source pixels inside the PSD. It stores a reference to an external file, plus a cached preview that Photoshop uses to draw the layer. Every transform and smart filter you apply sits on top of that reference.
This design has three consequences:
- Several documents can point to the same source file. Changing the source updates all of them.
- The PSD stays smaller, because the source is not duplicated inside it.
- The PSD depends on the source file staying where it is. If the file moves, the link breaks.
The cached preview means a document with a broken link still opens and still displays. You find out about the problem only when you try to edit the contents or update the layer.
Recognizing link states
Photoshop shows the state of each smart object as a small badge on the layer thumbnail in the Layers panel.
| Badge | State | Meaning |
|---|---|---|
| Page icon | Embedded | Source data is stored inside the PSD. |
| Chain icon | Linked and current | The external file is found and matches the cache. |
| Warning triangle | Linked, modified | The external file changed since the cache was made. |
| Red question mark | Linked, missing | Photoshop cannot find the external file. |
Exact icon artwork varies slightly between Photoshop versions, but the four states are the same. In a large document, use the filter control at the top of the Layers panel and choose the smart object filter. This shows only smart object layers, so you can scan their badges quickly.
Updating modified links
When someone edits the source file in another application, the badge changes to the warning state. Photoshop does not always refresh the layer on its own. You can force an update from the Layer > Smart Objects menu:
- Update Modified Content refreshes the selected layer.
- Update All Modified Content refreshes every modified linked layer in the document.
Updating keeps your transforms, masks, and smart filters. Only the source pixels change. This is why linked files work well for assets that evolve, such as a logo that a designer keeps revising.
A modified source can also be a different size from the old one. Photoshop applies your existing transform to the new dimensions, so the result may look larger or smaller than before. Check the placement after any update.
Fixing a missing link
A link goes missing when the source file is renamed, moved, deleted, or lives on a drive that is not connected. The repair workflow is the same each time.
Follow these steps for the common case, where the file exists but has moved:
- Select the layer with the red question mark.
- Choose Layer > Smart Objects > Relink to File.
- Browse to the file and open it.
- Inspect the layer. If the new file has different dimensions, adjust the transform.
If Photoshop shows a "could not find the linked file" message when you try to edit contents, the same Relink command resolves it. You can also open the Properties panel (Window > Properties) with the layer selected. For a linked layer it shows the file name and offers a relink option.
Relinking works with any compatible file, not only the original. You can point a layer at a different image with the same purpose, and transforms and smart filters carry over. This is the basis of the mockup technique from the earlier chapter, applied to linked sources.
When the source is gone
If no copy of the file exists, you have limited options:
- Keep the layer as it is. The cached preview still renders, so exports from the document look correct.
- Rasterize the layer, which turns the cached preview into ordinary pixels. You lose smart filter re-editing and lossless scaling. See the chapter on limits for the consequences.
Neither option recovers the original resolution. If you scaled the layer up before the file was lost, you cannot get that detail back.
Converting between linked and embedded
You can change the storage type of an existing smart object from the Layer > Smart Objects menu:
- Embed Linked copies the external data into the PSD for the selected layer.
- Embed All Linked does this for every linked layer in the document.
- Convert to Linked (available in newer versions) saves the embedded contents to a file you choose and links to it.
Embedding is the usual way to make a document self-contained. After embedding, the layer no longer follows changes to the original file. Decide before embedding whether you still need that connection.
Keeping links healthy
Most missing links come from file organization, not from software faults. Follow these habits:
- Create one project folder. Put the PSD and a subfolder of linked assets inside it.
- Name linked files clearly and do not rename them after linking.
- Move or copy the whole project folder as one unit.
- Before sending the document to someone else, either embed all linked layers or use File > Package to copy the PSD and its linked files into a single folder.
- Use Reveal in Finder (macOS) or Reveal in Explorer (Windows) from the Layer > Smart Objects menu to confirm where a layer's source actually lives.
Common errors
- Sending only the PSD. The recipient sees red question marks as soon as they try to edit. Package or embed first.
- Renaming a source file after linking. Photoshop tracks the old path, so the link breaks.
- Updating without checking size. A replaced source with different dimensions changes how the layer fits the canvas.
- Assuming a missing link means lost work. The cached preview, transforms, and filters remain in the PSD. Only the source reference is broken.
Exercise
A colleague opens your PSD and sees a red question mark on a logo layer. The logo file is still in your project folder, but you did not send it. Name two ways you could have prevented the problem, and state the trade-off of each.
Show answer
You could have used File > Package, which copies the PSD and its linked files into one folder. The trade-off is that the recipient must keep that folder structure and cannot get updates automatically. You could instead have used Embed All Linked before sending, which stores the logo inside the PSD. The trade-off is a larger PSD, and the layer no longer follows later changes to the original logo file.
Exercise
You relink a layer to a new file that is half the pixel dimensions of the old one. The layer looks twice as large relative to the content. Why, and what do you do?
Show answer
Photoshop keeps the existing transform, which was calculated for the old dimensions, and applies it to the new source. Check the placement after relinking and adjust the transform (for example, by scaling the layer) until it fits as intended.