I am working on a UI design in Photoshop CC 2019. I have an image and I would like to mask it with a shape. Masking works fine with the shape. But if I applied some layer style like gradient or color overlay, then the masked images is overlayed by this gradient or color overlay.

If I convert the masking shape with gradient to smart object, masking will work. But I would like to know whether there any other ways to achieve this?

Since the UI is for 1x/2x/3x devices, I need resizing of the design without losing quality.

  • Use Layer Masks :) well im also UI designer and was frustrated with that issue. and for now to resolve it i use Layer masks on images instead of clipping it
    – Mr.Online
    May 23 '19 at 11:21
  • 3
    Could you add some images with the problem you are referring to please?
    – user120647
    May 23 '19 at 11:22
  • @DesignPhoenix, I am using layer mask. But if there is a layer style like gradient-overlay or color-overlay for the masking shape, then it don't work. May 23 '19 at 11:23
  • Read my answer :) hope it helps!
    – Mr.Online
    May 23 '19 at 11:26
  • Layer Masks works with All styles including Drop shadow ; Glows and gradients :) if it is transparent styles like drop shadow you have to duplicate shape and convert it to smart object in order to clip into drop shadows too.
    – Mr.Online
    May 23 '19 at 11:32

Use Layer Masks

I also gone in same problem since I'm also UI designer and i came up with wrokaround like below image where i uses layer masks and using freeform move. Hope it helps!

enter image description here

  • Thanks @Design Pheonix. I did not get a chance to try this. I will try this asap and if its the best solution, I will definitely upvote you. Cheers! May 24 '19 at 3:46
  • Don't forget to share your experience :) hope my answer helps you :D
    – Mr.Online
    May 24 '19 at 4:06
  • 1
    It is awesome solution Design Phoenix. Thank you very much! May 26 '19 at 4:08
  • i'm glad it worked for you :)
    – Mr.Online
    May 27 '19 at 3:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.