Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design

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

Hey,

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 ^^