Replace Smart Object contents in Photoshop

Swap artwork in an ad template while checking that its transformed placement still fits.

Asset preparation3 min read

An ad template already places a product graphic at an angle. You need to swap the serum artwork while keeping that placement, not rebuild the layout. Replace Contents changes the source of a selected Smart Object and retains its transformations, according to Adobe's instructions. The retained transform does not guarantee that a differently framed image will look right.

Match the source canvas first

In this hypothetical example, the template's existing source is a 1200 × 1200 px square: a serum bottle sits centrally with about 120 px of clear space on each side. Its label is part of the artwork. The outer square, not the bottle silhouette, is what was transformed in the ad. Check your own source by selecting the Smart Object and choosing Layer → Smart Objects → Edit Contents; inspect its canvas, composition and padding, then close it without changing it.

Prepare the replacement on a 1200 × 1200 px canvas with a similarly positioned bottle and comparable clear space. Exact pixel dimensions alone are not enough: a tightly cropped bottle on the same square canvas can appear larger and cover neighboring copy. Conversely, an image with more empty padding can make the bottle look too small. Match the framing as well as the aspect ratio; keep enough source resolution for the final export.

If the new artwork is 600 × 900 px, don't assume it will occupy the square as intended. Place it in a 1200 × 1200 working canvas and choose deliberately whether to fit the whole image with space around it or crop it to fill. Position the bottle and label within the same intended margins; save this prepared artwork as a separate file. If the source is layered or vector artwork, retain an editable master as well.

Replace and inspect the placement

  1. Save a copy of the template. In Window → Layers, select the intended Smart Object layer, rather than its mask or an adjacent text layer.
  2. Right-click the layer and choose Replace Contents. Select the prepared file and choose Place. Photoshop retains the existing transformations; see Adobe's Smart Object overview for embedded and linked sources.
  3. Compare the artwork's upper-left, upper-right, lower-right and lower-left corners against the original template's four placement points. Check the entire boundary, including edges that may be hidden by other layers. The bottle should sit in the intended space without covering the headline or CTA.
  4. View the ad at its actual export size. Read the product label, check edges and any clipping, and verify any existing mask, filter or layer effect still produces the intended result. A transform can be retained while the new artwork's framing makes the result wrong.

If a corner or the bottle is out of place, undo the replacement and inspect the replacement file's canvas, crop and padding against the original. Correct that source and replace again; do not move a single corner just to compensate for a differently framed file unless the template itself needs a new placement. For a linked object, also keep the linked file available with the project and check its status in the Layers panel. If you are handing off the PSD, package and test the linked files without access to the originals.

Image tools
All guides
Replace Smart Object contents in Photoshop | Formatry Media — Formatry