Skip to main content
Inspiring
May 10, 2021
Question

How do I crop the contents of a smart object?

  • May 10, 2021
  • 4 replies
  • 10427 views

I have a layer stack containing a smart object. I cropped the image, discarding unused pixels. But the smart object still contains those pixels. How do I apply the same crop to the smart object's contents?

4 replies

Participant
January 30, 2025

Try this:

1. Select all layers,

2. Merge them to a single layer at top of stack (ctl-alt-shift-e),

3. Crop as needed. I used the selection tool, then (image-crop),

4. Hide smart object below (eye icon) to preserve it's integrity for future use, including applied filters.

This appears to hide the extra space the smart object would otherwise occupy.

Trevor.Dennis
Community Expert
Community Expert
May 11, 2021

I can think of work arounds, but is there an important reason why you need to do this?

 

I did wonder if making guides at 0% and 100% would show when the SO was opened in a new window, but that didn't work.  What you could do, is

 

  1. Open the SO in a new window.
  2. Select all the layers and duplicate back to the original document.
  3. You could then initiate a crop, tap on a corner handle to make the crop active and OK it
  4. Select the duplicated layers and make them a new SO

 

Or you could just live with it. The biggest problem with SOs and cropping IME is alignment.  Same thing when you need to edit the SO and need to add canvas to make room for the edit. When you save the edited SO the location has broken.  You can get round this with the same duplicate layers trick, and align them to the original SO, maybe setting the blend mode to Difference (which makes the pixek turn black when perfectly aligned).

Bojan Živković11378569
Community Expert
Community Expert
May 11, 2021

Just to confirm @JJMack statement: Smart Object layer can not be cropped. Content of SO layer is in the background and what you see on layer are pixels rendered from original file then usually scaled down. If you want to crop content then you must acess content of SO and that is what @jane-e is suggesting.

jane-e
Community Expert
Community Expert
May 10, 2021

Hi @J Isner 

 

Open the SO by double-clicking the icon in the Layers panel to open the .psb > make edits > save and close the psb to return to the psd.

 

~ Jane

J IsnerAuthor
Inspiring
May 10, 2021

It's the "make edits" that's the problem.  If I "open" the smart object (by double clicking) I see the original (uncropped) image.  I need to crop the contents of the smart object so that it matches the main image.  For example, it would be nice if I could Select All in the main image, then open the smart object and crop to the selection boundary. However, the selection does not carry over when you open the smart object.

JJMack
Community Expert
Community Expert
May 11, 2021

Smart object Pixels are hardened by Photoshop they can not be changed using Photoshop tools.  If you crop a document that contains the Smart Object layers the smart object layers will be Clipped by the document changed Canvas size. The Smart Object will not be changed. The layer is effectively masked by the documents canvas.

JJMack