Try Tuts+ Premium, Get Cash Back!
Making the Most of Photoshop Layers

Making the Most of Photoshop Layers

Tutorial Details
  • Estimated completion time: 10 mins
  • Difficulty: Beginner
  • Topic: Photoshop

The way web designers are using Photoshop is changing; pixel perfect comps are less relevant than they were a year or two ago. However, Photoshop is still an invaluable design tool and using its features properly is as important as ever. The following tips will help you master working with layers.


A Quick Word About Best Practices

Layers are a classic culprit where project disorganization is concerned. By handing over a PSD to a colleague, you have to assume they can understand and work with what you’ve given them. This means having well managed layers, color coding, proper labelling, grouping, efficient and non-destructive techniques, tidying up and so on.

These aspects are all very important, but we’re not going to dwell on them here. Instead, we’re going to focus on techniques and skills which will speed up your personal workflow.


Duplicate Layer Within Another PSD Document

Dragging and dropping is most commonly relied on for this, but there’s a cleaner and more reliable way. To create a copy of your current layer and have it appear in the exact location in a different Photoshop document, right-click on the layer that you want to copy, and choose Duplicate Layer. When the dialog appears, choose the Destination from the Document list, then click OK.

For example, I’ve created a document containing a layer with a logo. I’d like to duplicate this logo within another document.

Following the steps above, I’m presented with the Duplicate Layer dialog.

Here it’s possible to select an existing open document, or create a new one. In this case I’ll create a new document.

That’s it! This technique can be really helpful when working with a bunch of layers which you need to export (such as creating sprite sheets).


Remove Default “copy” Extension

When you duplicate a layer in Photoshop, by default its name will be appended with “copy”. This is one of those defaults which niggles me, so I like to change it. To disable this default click on the little menu icon in the top right corner of the layers pannel and go to Panel Options.

In the resultant pop-up window uncheck Add “copy” to Copied Layers and Groups.

There are a few other useful panel options too..

Thumbnail Size

Handy if you’re visually inclined, this option allows you to change the thumbnail size in the Layers Panel.

Thumbnail Contents

Semi-related to the previous option, this option will help you visualize the contents of a layer. Say, for example, you have a large canvas and a layer containing a small icon. In order to properly see the contents of this layer within the thumbnail, you can switch the setting to Layer Bounds.

In the example below I’ve simulated this with a canvas size of 1600×1200 and simple circle upon it. See the diference?

Default Masks on Fill Layer

Would you like to remove that layer mask when you create a fill layer? If so, uncheck the Use Default Masks on Fill Layers option.

Expand New Effects

Another default which it can be handy to override. Uncheck this option and the next time you apply new layer styles somewhere, the styles will be collapsed when you’re finished. It can be pretty tedious to have to collapse expanded styles every time you’ve created them.


Separating Layer Styles

Sometimes referred to as jailbreaking layer styles, this technique allows you to fully manipulate each layer style individually. Select a layer (with styles) then go to Layer > Layer Styles > Create Layers and you’ll observe your styles split away onto layers of their own.

For example, here I’ve created a rectangle shape with a few layer styles.

Let’s say I want to rotate every layer style individually. I apply Create Layers as described above.

This then separates all the effects, which are still coupled with my layer.

I can now rotate each effect individually.

Note: This is great when using Photoshop, and you can simulate similar effects using CSS Transforms in the browser.


Design Samples Through Layer Comps

This approach is a great alternative to Fireworks’ states. Using Layer Comps allows us to store different layer arrangements, making it really easy to switch between them. Not only can this speed your own workflow up, but also greatly improves presenting a PSD to your clients.

For example, let’s say that I have to create three design samples for a simple button. My client is interested in a sample with a shadow, a second one with an inner glow, then a third with a stroke. Altering the various Blending Options and excluding some of the layer styles each time would be very impractical. Saving Layer Comps allows me to switch between presets, like so:

Go to Window > Layer Comps to open the layer comps panel. Create a layer with some basic styles..

..then save a new comp (the little “new document” icon in the layer comps panel). Enter a name for the comp, check Visibility and Appearance, then add a comment for your own reference.

To make a particular layer comp visible, check the comp icon to the left of it.


Align Layers to Selection

This one is one of my favorites when working with bunch of layers and pixel perfection is important.

If, for example, I want to center a layer in a specific position but I don’t have anything to align with, I can use the selection tool.

Create a selection with the Rectanglular Marquee Tool. Select the layer you want to align, select Move Tool (V) and use one of the align options in the top toolbar.


Useful Shortcuts

Photoshop provides a plethora of keyboard shortcuts to speed up your workflow. Memorize these five examples and you’ll become lightning fast when working with layers.

  • New Layer: Cmd/Ctrl + Alt + Shift + N
  • Duplicate Layer: Cmd/Ctrl + J
  • Group Layers: Cmd/Ctrl + G
  • Create/Release Clipping Mask: Cmd/Ctrl + Option + G
  • Merge Layers: Cmd/Ctrl + E

Quick Tip: Create Your Own Shortcut

To define your own shortcuts, simply go to Edit > Keyboard Shortcuts, but be wary that you don’t overwrite any default shortcuts.

For example, I want to create a shortcut for “Rename Layer” and for that I want to use the combination Cmd/Ctrl + Shift + R. Firstly I go to Edit > Keyboard Shortcut, then under the Layer tab I click on Rename Layer then press the button combination (Cmd/Ctrl + Shift + R) and click Accept. That’s it! You can use as many custom shortcuts as you want.


Conclusion

Manipulating layers properly and quickly is a fundamental skill for Photoshoppers. It speeds up workflow and improves the collaboration process when working in a team. If you know of any other layer-based tips, I’d love to hear them in the comments!


Further Resources

Erol Mujak is FilumStudio on Themeforest
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://twitter.com/Duncankrebbers Duncan Krebbers

    Nice roundup! But how can the shortcut for clipping masks be the same as the shortcut for creating groups?

    • ianyates

      It can’t! Typo, sorry about that :)

  • Pingback: Useful Photoshop Tutorials from Web Design Tuts+ | smcdesign | blog

  • Santosh

    its great… layer comp and separating layer style is cool.. :D thanks for sharing a great idea..

    • http://twitter.com/ErolMujak Erol Mujak

      You’re welcome :)

  • erickaweb

    Thank you – the first tip “Duplicate Layer” to another document was something I have been wondering how to do for forever.

    • http://twitter.com/ErolMujak Erol Mujak

      Say goodbye to dragging :)

      • DNK

        does this option have keyboard shortcut or do I have to set it manually?

        • http://twitter.com/ErolMujak Erol Mujak

          No I guess, but you can always create it for yourself :)

  • http://www.craigkeeling.com craig_keeling

    Super useful. Changing the thumbnail options and removing “copy” is nice. I never realized just how much those bugged me until now! :)

    • http://twitter.com/ErolMujak Erol Mujak

      Glad you like it :)

  • Adi Purdila

    Very nice. Since we’re on the topic here, there’s an awesome option I recently discovered that I wanna share.

    If you have a document with a gazillion layers and layer styles and you want to collapse everything (including effects) you can Alt+Cmd+Left Click the small arrow next to a top level group. That works as a toggle actually, collapsing/expanding all the groups and layer styles that belong to that parent group you clicked on :)

    Really good when you’re sending work to a client for example.

    • http://twitter.com/ErolMujak Erol Mujak

      Awesome tip :) Thanks :)

    • ianyates

      Good one Adi :)

    • http://visuex.com/ Michael Tunnell

      I knew about this tip for a while and I never thought about sharing it…good on ya.

      BUT there is one small thing to be careful with when using this shortcut. Once you hide all the other layers to say get a copy merged clip or whatever, be sure to toggle it back because if you have a lot of layers/groups and use this toggle and make ONE more change other than to toggle it back then you will lose EVERYTHING regarding visibility settings of every layer.

      For example:
      Comp has 140 layers. 6 layer groups.
      Use this toggle to hide all but one layer group and you are fine to make changes IF it does not affect any layer’s visibility.
      If you click to show one more of the layer groups then you will have lose the toggle option and then have to reset all of the settings that you made for each layer and each group.

      Safer Tip: put everything in groups and just click each top level group to accomplish this same thing without the fear of losing all the settings.

  • Peter sawyer

    I’ve been using photoshop professionally for about 5 years, yet it never ceases to amaze me amount new things I learn about it still.

    Will be switching the ‘copy’ name from the duplicated layers first thing money morning.

  • http://visuex.com/ Michael Tunnell

    It amazes me how complex Photoshop really is that I’ve used this app for almost a decade and to know that I will NEVER know everything about it. :)

    Duplicate Layer to Documents: awesome tip, never considered that an option…much better than drag and drop. :)

    Copy name & Expand Layer Styles: I always hated both of these but never thought about even looking to see if that was possible to disable. Thanks for that.

    ——

    Some of my Keyboard Shortcut Tips:

    Most Menu Items can be utilized from a set of shortcuts…even if they don’t have shortcuts attached. However, these shortcuts are done in a sequence.

    Grouping Layers: Ctrl + G does this…maybe you want to do this but also easily name the group when you create it. Ctrl + G just creates it like “Group 1″ (or etc) but if you use the following shortcut. Alt + L (opens layer menu) -> N (new layer menu) -> A (chooses Group from Layers). This will accomplish the same thing but also open a dialog box to easily name the group.

    Merge Layers into New Layer: Ctrl + E merges layers but Ctrl + Alt + E will merge the layers into a new layer leaving the original layers alone.

    New Layers: Ctrl + Shift + N creates a new layer and provides a dialog box to name the layer. Ctrl + Shift + Alt + N skips the dialog box.

    Duplicate Groups: (sequence shortcut) Alt + L -> D – this can be done with Ctrl + J with a group selected in CS6 but anything before that doesn’t work BUT my sequence shortcut does work.

    Sequence shortcuts will allow you to do a lot of stuff quickly without creating shortcuts and without worrying about something being overwritten because lets face it…Photoshop is vast and there can only be so many shortcuts.

    ————————

    I should really create a blog post about sequence shortcuts because they are actually much more powerful.

    • http://twitter.com/ErolMujak Erol Mujak

      Great tips :) And good luck with a blog post :)

  • http://twitter.com/pearlzdesign pearl

    really great info here man. nice work.

    • http://twitter.com/ErolMujak Erol Mujak

      Thanks :)

  • Majid

    Duplicate to New Layer is something i was really in need. You made my day Erol Mujak!!

    • Majid

      Duplicate to New File or open file is something i was really in need. You made my day Erol Mujak!!

      • http://twitter.com/ErolMujak Erol Mujak

        I’m really happy that I helped you. Cheers

  • Pingback: פיקסלגיק: קישורים להדרכות, חינמיים, השראה, תכנות פרונט אנד, עיצוב לסטארטאפים וחווית משתמש [14-2-13] | פיקסל פרפקט מגזין

  • Pingback: Maintain Consistency With a Website Style Guide | Webdesigntuts+

  • Pingback: Maintain Consistency With a Website Style Guide | Visuals | Adobe.La

  • Pingback: Maintain Consistency With a Website Style Guide - — Ethiopian Website Design

  • Pingback: Reme Le Hane – Front-end Web Developer » Best of Tuts+ in February 2013

  • Pingback: Best of Tuts+ in February 2013 | Start a Web Design Company

  • Pingback: Maintain Consistency With a Website Style Guide | iDevie

  • http://www.smarttouch.me/ Smart Touch

    just a small tip for beginners, count on utilizing layers and using smart objects, both of them can really become handy while working on any design.what I do love the most about smart object that you can compile elements that could be edited outside your PSD.
    Thank you,
    Marc A. Donald

    http://smarttouch.me

  • Linish

    WOW! Super Article with some awsome tips!

  • Pingback: Best of Tuts+ in February 2013 - Fire Bull Design Studio