Skip to main content
Inspiring
March 4, 2019
Question

aligning images with masks

  • March 4, 2019
  • 4 replies
  • 5538 views

I am placing a project with with a mask onto a background and I would like to align them. When I attempt to do this the alignment is based on all the masked art and not just the visible which is what I want.  Is there a good way to align just what is visible? I would prefer not to have to merge clipped art.

Thanks

    This topic has been closed for replies.

    4 replies

    sharp_hands16B8
    Community Expert
    Community Expert
    March 6, 2019

    Myra Ferguson​'s technique is probably the best one for alignment and ignoring the mask situation.

    But, based on your second comment about the pixels being outside of the canvas, with your crop tool there is an option for deleting cropped pixels. This is a permanent edit, but it will accomplish the removal of pixels off the artboard.

    COGordonWAuthor
    Inspiring
    March 9, 2019

    When i have attempted to crop out the images past the canvas I have had that option selected. However some layers still do not crop. The layers that don't crop are linked if that helps.

    Bojan Živković11378569
    Community Expert
    Community Expert
    March 9, 2019

    Ok, did you tried to convert existing SM layer with mask to Smart Object layer then to align to selection (suggestion 2 from my previous reply)? You can convert Smart Object to another Smart Object, by the way.

    Bojan Živković11378569
    Community Expert
    Community Expert
    March 4, 2019

    Here are my $0.02

    • Ctrl/Cmd + click on layer mask to load selection (you may need to invert selection)
    • In the Layers panel select layer  which you want to align
    • Activate Move tool then use alignment options from the options bar. This will align layer content to active selection.

    Myra Ferguson
    Community Expert
    Community Expert
    March 4, 2019

    Make your art with your layer mask a smart object. Right-click on the layer towards the right side and select Convert Object to Smart Object from the contextual menu or go to Layer > Smart Objects > Convert to Smart Object. It's like a container for your layer(s). Then you can align it based on the masked art. Here's more info on smart objects Work with Smart Objects in Photoshop

    COGordonWAuthor
    Inspiring
    March 6, 2019

    I tried that but the alignment still seems to be based on the total image and not just the masked portion.

    I got a bit frustrated and tried to just crop instead of mask the object but I still seem to have objects outside of the crop area. I double checked and all the layers were selected when I cropped the document.

    This what it looks like when I try to transform the cropped version and the masked version.

    You'll notice even though all layers were selected and cropped there is still info outside the cropped area. The very same thing happens when I try to mask and then turn image into a smart object.

    Myra Ferguson
    Community Expert
    Community Expert
    March 6, 2019

    Are you showing the .psb file? It will act like the original layers did. When you save that and go back to the original .psd file, Photoshop should only see the masked portion. Can you show a screenshot of your full screen?

    JJMack
    Community Expert
    Community Expert
    March 4, 2019

    Target all the layers you want to align.  Select a pixel you want to align them to and then align layers to selection. Are you sure you do nor want to distribute them above the background.

    You should also be able to target all the Layers with layer mask you want on a new background. Then with the shift key held down drag the layers from the Layers Palette and Drop then them into new background Document. You also need to be careful if the Mask are not linked to the layer's content. Unlinked the layers content and layer mask positions can be moved independently.

    JJMack