Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Photoshop - cropping an image with a layer?

I have seen this very nice trick where you have layer "A" (for example an image) above layer "B" (rectangle, circle whatever), and you can use layer "B" kinda like a a cropping tool (move around the image, but still stay within the boundaries of layer "B".

Does anyone know how can I use this effect?

1 Answer

Steven Bister
Steven Bister
12,011 Points


I'm no Photoshop expert so there might be a better way of doing this; but from what it sounds like you're after, try this:

  1. Pick a shape to use for "layer B"
  2. Make sure "layer A" above "layer B"
  3. Right click on "layer A" in the Layers panel
  4. Click "Create Clipping Mask"

And that should do it. "Layer A" should now be inside whichever shape you chose to use as "layer B"

Yeah create clipping mask did the trick. Ty for the help ^^