Photoshop CS3 for the Web Essential Training

Photoshop CS3 for the Web Essential Training

with Jan Kabili

 


Covering everything from setting up the interface to optimizing photos to using tools like the Web Photo Gallery, Photoshop CS3 for the Web Essential Training is a beginner course for anyone using Photoshop CS3 to create or edit images for the web. Instructor Jan Kabili explains the difference between web and print graphics, demonstrates how to create color swatches, discusses layers and slices, teaches how to create integral web page elements, and much more. Exercise files accompany the tutorials.

Download the free exercise files from the Exercise Files tab.

show more

author
Jan Kabili
subject
Web, Web Graphics, Prototyping, Web Design
software
Photoshop CS3
level
Intermediate
duration
8h 25m
released
Sep 07, 2007

Share this course

Ready to join? subscribe


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:00Hi Everyone! This is Jan Kabili.
00:03I'm happy to welcome you to this title, Photoshop CS3 for the Web
00:07Essential Training.
00:09It's really exciting to be back here at lynda.com to do this title.
00:13I have been writing and teaching about Photoshop for the web since back in the
00:17days of Photoshop 6,
00:19I think it was. I still think it's really important for anybody who is involved
00:23in web design, be it on the design side or the developer side or the production
00:27side, to have a firm grasp of how graphics are made for the web.
00:33And so in this title, I haven't just focused on features of Photoshop that are
00:37related to web design. Instead, I have tried to hone in on tasks that you will
00:41be performing and techniques you'll need to know as you create graphics for your websites.
00:47I hope that you will get ideas for how to incorporate graphics in your own
00:50sites, and that you will learn efficient production techniques that will save
00:54you time and effort in your own work.
00:56So let's get started learning Photoshop CS3 for the web.
Collapse this transcript
Using the exercise files
00:00Throughout these movies, you will hear me talk about the Exercise Files.
00:03Let's take a minute to discuss what the Exercise Files are and how you can access them.
00:09The Exercise Files are files that I put together that illustrate the principles
00:14that I'll be teaching.
00:15For example, here, you can see that we have Exercise Files arranged by chapter
00:22and if you look inside any one of the chapter folders, you'll see all the files
00:26that we use in the movies for that chapter, and I'll be instructing you in the
00:30movies which files to open and where they're located.
00:34If you're a premium member of the lynda.com Online Training Library or if
00:39you're watching these movies from a disc, then you do have access to these Exercise Files.
00:45If you are a monthly or annual subscriber to lynda.com, unfortunately, you
00:49don't have access to these particular Exercise Files, but you're welcome to
00:53use your own assets instead, or you're welcome to just listen and follow along with me that way.
00:59So let's get started.
Collapse this transcript
1. Customizing the Interface
Overview of the interface
00:00In this first chapter, we're going to be taking a look at Photoshop CS3's interface.
00:06If you have the Exercise Files and you're following along with me, open
00:09page_comp.psd from the Chapter 01 folder in the Exercise Files.
00:14Otherwise, you can open any document for this movie.
00:18I'm amazed that how good a job Adobe has done of arranging so many features in
00:22such a compact well-organized interface.
00:25It's pretty easy to find a feature in this interface even if you're not sure
00:29exactly where a feature is, if you understand the big picture, the way this
00:34interface is designed.
00:35In this movie, I'm going to give you a brief tour of Photoshop's interface.
00:39There are basically five components to the interface.
00:42At the top of the screen is the menu bar.
00:45If I click on any of the menus, I see lots of commands.
00:49This is just like in any piece of software.
00:53In the center of the screen, we have the Document window.
00:57The Document window is where our image lives.
01:00There is useful information at the top of the Document window, like the file
01:03name, the zoom level, and information about the color mode and bit depth of the image.
01:10At the bottom of the Document window, there is yet more information.
01:14If I click the arrow on the right side of the Information box, and go down to
01:17Show, I see that I can bring up information about Document Sizes, the Color
01:22Profile attached to the document, the Dimensions of the document, and more.
01:27Over on the left side is the Toolbox.
01:31If you're an experienced Photoshop user, you'll notice right away that the
01:34Toolbox looks different in Photoshop CS3 than it did in previous versions of the program.
01:40What's different is that now, by default, the Toolbox is a single column.
01:44When I first started using this single column Toolbox in CS3, I had trouble
01:49putting my finger right on the tool I wanted because I was used to tools being
01:53in different places.
01:54If you're like me, you may want to switch back to the double column Toolbox
01:57temporarily until you get used to the new configuration.
02:01To do that, all you have to do is go to the double-pointed arrows at the top
02:05of the Toolbox and click, and that toggles you to the double column view of the Toolbox.
02:10To go back to single column view, you just click again.
02:13It's not important that you remember every single tool in the Toolbox, because
02:17Photoshop comes with built-in tooltips.
02:20So if you are not sure about a particular tool, just move your mouse over the
02:23tool and wait and you'll see a yellow tooltip that tells you the name of the
02:28tool as well as a shortcut for accessing that tool.
02:31So for example, if I wanted to access the Lasso tool, I either could click on
02:35it or I could just type L on my keyboard, as I'm doing now, and that selects the Lasso tool.
02:43Notice that some tools have a little black triangle at the bottom right.
02:48The black triangle indicates that there are some hidden tools behind the one that you see.
02:51For example, right now I'm looking at the Slice Select tool. Because there is a
02:57black triangle there, I know that if I click on the Slice Select tool and hold,
03:00I will see a flyout menu that will describe the other tool available from this
03:05tool spot and that's the Slice tool.
03:08Another thing to notice about the Toolbox is way down at the bottom.
03:12If you've used Photoshop in the past, you may be down here looking for the Jump
03:16to ImageReady button.
03:17The big news in Photoshop CS3 is that there is no Jump to ImageReady button, and
03:22the reason is RIP for ImageReady, ImageReady no longer ships with Photoshop as a
03:28part of this program, but don't worry because you're able to still do pretty
03:32much everything you could do in ImageReady to create web graphics.
03:36The only thing you can't do now is to create programmed rollovers and image
03:40maps and we're filling some of that gap for you here at lynda.com by offering
03:46you a specially commissioned script that will allow you to export layer comps
03:52as individual sliced web graphics, and we will talk more about that in future movies.
03:57Now, I would like to go up to another piece of the interface and that's the Tool Options bar.
04:03The Tool Options bar is context-sensitive.
04:05That means that it displays all of the options for whichever tool is already
04:09selected in the Toolbox.
04:11Right now, for example, we have the Slice tool selected here in the Toolbox, and
04:16so we see the options for the Slice tool in the Tool Options bar.
04:20If I select a different tool in the Toolbox, say the Move tool, notice that the
04:25options in the Options bar change.
04:28Another thing to notice about the Options bar is that when you go over on the
04:31right, you no longer have a palette well, which, if you've used Photoshop in the
04:35past, you are used to seeing over here in this area.
04:38That's because in Photoshop CS3, there is a whole new system for docking and
04:43collapsing panels so that they remain accessible without constantly taking
04:47up screen real estate.
04:48We will be looking at that new panel system in the very next movie.
Collapse this transcript
Arranging panels
00:00In this movie, we're going to continue our tour of the Photoshop CS3 interface
00:05by taking a closer look at the panels, which are over here on the right-side of your screen.
00:12If you're following along with me, you can have any file open for this movie or
00:16you can continue to have page_comp.psd opened from the Chapter 01 folder in
00:21your Exercise Files.
00:23The panels are the interface element that usually take up the most real estate
00:27on your screen, so Adobe has gone to some trouble to devise a new system for
00:32storing the panels in a way that gives you the most screen real estate in which to work.
00:38You're looking at the default configuration of the panels, but you don't have to
00:42leave the panels this way.
00:44You have lots of latitude to customize the panel arrangement to fit
00:47your personal workflow.
00:49Notice that the panels are arranged in groups.
00:52So for example, here we have the Navigator panel, the Histogram panel, and Info
00:56panel, each of which is represented by a tab.
01:00If I click on one of those tabs, it brings that panel to the forefront of its group.
01:05Notice, too, that the panels are arranged in these columns.
01:10By default, we see two columns here.
01:12The outer column shows the panels as full open panels.
01:17The inner column shows the panel in a collapsed view.
01:20The purpose of this collapsed view is, of course, to give you more space in which to work.
01:25Panels are represented by icons in the collapsed view.
01:28For example, this icon, here, represents the History and Actions Panel group.
01:35In order to see those Panel groups, all I had to do was to click on the icon
01:39that represents that group and the group appears temporarily on the screen.
01:43I'll click that icon again to close that Panel group and I can continue down
01:49this column clicking on the icons to temporarily open and close the
01:54associated Panel groups.
01:56At first, you may not be sure what each one of these icon stands for.
02:00If that's the case, you can go to the top of the collapsed panel column and
02:05click on these three vertical bars and drag to reveal the names of the panels in the columns.
02:12Once you're comfortable with which icon is which, you can click on those three
02:17vertical bars again and drag to the right and now you'll only see icons again.
02:22Even though the panels are all docked into columns, they remain customizable.
02:27So, for example, we can change the amount of space that's allocated to a Panel group.
02:32I'm going to click on the Navigator tab here and then I'm going to go to the
02:35bottom of the Navigator Panel group. My icon changes to double-pointed arrow,
02:40and I can click-and-drag up to reduce the amount of space allocated to the
02:44navigator group and increase the amount of space allocated to the Panel groups below.
02:50I can also change the order of Panel groups in a column.
02:53So, if I'd like to have my Layers panel group at the top of this column, I just
02:58click in a gray area outside of the tabs in that Panel group and drag to the top of the column.
03:05And when I see a single blue bar at the top of the column, I will let go and
03:09that moves the whole Layers Panel group to the top.
03:13Let's say there is a Panel group that you're not going to be using.
03:16You can close that Panel group by clicking the X on the top right of the group.
03:24If you want to reopen the Panel group, just go to the Window menu at the top of
03:28the screen, and choose one of the panels from that group.
03:32So in this case, I will choose the Histogram panel and all three of the
03:37associated panels open up together.
03:39You can take any panel out of the docked column by clicking its tab, as I'm going
03:45to do with the Layers panel here, and dragging over to the left to make that
03:49into a free-floating panel, like the panels in previous versions of Photoshop.
03:55You can also dock panels together.
03:57So I'm going to go to this inner column and open the Layer Comps panel, which is
04:02related to the Layers panel, and then I'm going to click on the tab of the Layer
04:06comps panel and drag up to just the bottom of the Layers panel.
04:10And when I see a light blue line at the bottom of the Layers panel, I will let
04:14go and now these two panels are docked together.
04:17That means that you can move them around together.
04:19So if I click at the top of that whole column and move, you will that see both
04:23columns go together anywhere on my screen.
04:26Finally, I can take this whole new column and dock it with the other columns.
04:31So I'm going to click again in this gray bar at the top of this column and drag
04:35up and over to the left of the existing docked columns and let go and that
04:42creates a third docked column.
04:44So, that's the new customizable panel system in Photoshop CS3.
04:49If you don't like the way you've configured your panels, you can always get back
04:52to the default configuration like this.
04:55Just go up to the Window menu at the top of the screen, and choose Workspace >
05:00Reset palette Locations and we are back where we started.
05:05Panels aren't the only thing that's customizable in Photoshop CS3.
05:09You can also customize your keyboard shortcuts.
05:13That's what we're going to learn how to do in the very next movie.
Collapse this transcript
Customizing keyboard shortcuts
00:00As you become more comfortable working in Photoshop, you are going to want to
00:03start using keyboard shortcuts to make your Web work go faster.
00:08In Photoshop CS3, you can create your own custom keyboard shortcuts.
00:13I still have page_comp.psd open on my screen.
00:16You can use this file from the Chapter 01 Exercise Files folder or any image of this movie.
00:22There are several kinds of shortcuts in Photoshop.
00:25Many of the tools in the Tools palette have shortcuts associated with them as
00:29we have already seen.
00:30So for example, if I were to press L on my keyboard, I'll select the Lasso tool.
00:35If I move across the screen to the panels and I click on the panel menu
00:42icon on any panel group, that opens a menu of panel commands associated with that panel.
00:48And as you can see, some of these commands have shortcuts.
00:53So for example, here you can create a new layer by using the shortcut
00:57Shift+Command+N on a Mac or Shift+Ctrl+N on a PC.
01:02The Application menus at the top of the screen also have shortcuts associated
01:06with their commands.
01:07So, if I go over here to the File menu and I come down to Save for Web and
01:13Devices, I can see that there is a shortcut here.
01:17But it's a really complicated one.
01:19It's Option+Shift+Command+S on a Mac and that's Alt+Shift+Ctrl+S on a PC.
01:26I'd like to simply that shortcut, because it's one that we use often when we are
01:31working for the Web.
01:33I can do that by creating my own keyboard shortcut for this command, as we'll do in a minute.
01:39First, I want to show you another command that we often use for the Web.
01:43If I go to the Layer Application menu and I go down to a New Layer Based Slice I
01:51see that there is no shortcut associated with this command and we are often
01:54making New Layer Based Slices as we will learn to do later in this series.
01:59So we are going to learn how to use the keyboard shortcut feature to add a
02:03shortcut, to a command like this one, that has no shortcut already.
02:09Let's go up to the Edit menu at the top of the screen and move down to
02:13Keyboard Shortcuts.
02:15That opens the Keyboard Shortcuts and Menus dialog box.
02:19The first thing I am going to do here is go up to the Set area and instead of
02:23modifying the default set of keyboard shortcuts, known as the Photoshop Defaults,
02:28I am going to create a brand new set of keyboard shortcuts, and I am doing that
02:33just to protect my Photoshop Defaults.
02:36So I'll click here on the New Set button, and in the Save window that opens,
02:42I'm going to give this set of keyboard shortcuts a name, I'll call it my web.kys shortcuts.
02:50KYS is just the file format suffix for a keyboard shortcut set.
02:57I'm going to save my new keyboard shortcuts in its default location, right here
03:02in the Keyboard Shortcuts folder.
03:04That's important so that I can access my new set from the Set menu at the top of the screen.
03:10Let's save so you can see what I mean.
03:12I am clicking the Save button and now we can see that in the Set menu, we have
03:17our new web set of keyboard shortcuts.
03:21The next thing I want to do is go in and alter that keyboard shortcut for the
03:25Save for Web and Devices window.
03:27I am going to go down to this menu that says Shortcuts For and make sure it is
03:31set to show me the shortcuts for Application menus, rather than for Palette
03:36menus or for Tools.
03:39Then I'm going to go down into this area and find the File menu and click it's
03:45arrow, and then I'm going to scroll down until I see Save for Web and Devices
03:54command right here, and you can see the awkward shortcut that, by default, is
03:58associated with this command.
04:00I am just going to click on that shortcut to open an editing field and I'm going
04:05to choose a different shortcut.
04:07I am going to press the Command key and the Comma key, that would be the Ctrl key
04:11and the Comma key on a PC.
04:15And that sets a new shortcut for Save for Web and Devices that's a lot shorter
04:19than the original one.
04:20I am going up to the right here and clicking Accept to set that as my new Save
04:26for Web and Devices shortcut.
04:28Now let's go to another Application menu in this dialog box to give the Layer
04:32Based Slicing command a shortcut.
04:34I am going to scroll up and collapse my File menu commands and then I will move
04:41down to my Layer commands here and toggle those open, and then I'll have to
04:46scroll again until I find the New Layer Based Slice command.
04:53And as we saw in the Application menu, there is currently no shortcut associated
04:58with this command even though it's one we often use in Web work.
05:01So I am just going to click to the right of this command to open the editing
05:05field and I am going to choose a shortcut on a keyboard, I'm going to press F5.
05:10This brings up a message telling me that F5 is already in use.
05:14It's actually a shortcut for opening the Brushes palette.
05:18I don't use the Brushes palette very often in my Web work.
05:21I certainly use the New Layer Based Slice command more often and so I'm willing
05:25to give up the F5 command for the Brushes panel and apply that shortcut to the
05:29New Layer Based Slice command instead.
05:32So, I am just going to go up to the right and choose Accept.
05:34Now I am going to press OK.
05:38Back in my main editing workspace, I am going to go to the File menu and down to
05:43Save for Web and Devices.
05:45And as you can see there, that command now has the Command+Comma shortcut, or on
05:49a PC, you'd see Ctrl+Comma here.
05:52And if I go to my Layer Application menu and I move down to New Layer Based
05:57Slice, you can see that this command has a shortcut too, F5.
06:03If you're giving your commands and your tools new shortcuts you are going to
06:07need some record of the shortcuts that you have applied.
06:10You can do that by going to the Edit menu at the top of the screen and back down
06:14to Keyboard Shortcuts.
06:16In the Keyboard Shortcuts and Menus dialog box, you can move over to the right
06:20and click on the Summarize button.
06:22In the Save window that opens, I'm going to save a copy of my New Keyboard
06:27Shortcut Set to my desktop and so I'll click Save.
06:31This opens my default Web Browser, Safari, with a list of all my new
06:35keyboard shortcuts.
06:37If I scroll down to the File area here, I can see Save for Web and Devices,
06:44Command+Comma, or Ctrl+Comma on a PC.
06:49And if I scroll down to the Layers area, I can see my New Layer Based Slice
07:00command listed with its new F5 shortcut.
07:03So, that's how you can keep a record of all your personal shortcuts.
07:09Stay tuned for the next movie, in which we're going to learn how to set up a
07:13custom workspace for your Web work, including the keyboard shortcuts that
07:17we've created here.
07:18And then to save it all so that you can come back to your personal Web
07:23work space at any time.
Collapse this transcript
Saving custom workspaces
00:00In the last two movies, you learned how to customize panels and
00:04keyboard shortcuts.
00:06Once you've gone to all that trouble, wouldn't it be nice to be able to save those
00:09custom configurations so that you could bring them back at any time.
00:13It's easy to do in Photoshop CS3.
00:16I'll show you how in this movie.
00:18If you are working along with me, you can leave page_comp.psd open from the
00:23chapter01 Exercise Files folder, or you can use any image for this movie.
00:29The first thing I want to do is to set up a configuration of panels that's one
00:33that I might actually use when doing Web work.
00:36To do that, I am going to go to the tool Options Bar here at the top of the
00:39screen and over to the right side of the Options Bar, where there is a new
00:43button in Photoshop CS3, the Workspace button.
00:47From the Workspace menu, I am going to choose one of the preset workspaces that
00:51ships with Photoshop CS3 and that's the Web Design Workspace.
00:58Let's see what this does for us.
01:00It sets up our panels in a way that I think is reasonable for Web work, with the
01:04navigator, colors, swatches, layers and other related panels showing on screen.
01:09In addition to arranging the panels, this preset Workspace also does something
01:14interesting to my menus at the top of the screen.
01:17If I choose any one of the menus, say the Layer menu, you can see that some
01:21items in the menu are now purple.
01:24The idea here is to highlight commands that are often used in a Web Design workflow.
01:30To be honest, I'm not sure I totally agree with the items that are labeled in purple here.
01:35So, I'm not thrilled about keeping this feature of the Workspace, and we'll see,
01:39in just a minute, how we can ignore the menu changes here.
01:43So, the preset Web Design Workspace is almost what I want, but I want to do a
01:47little customization of my own.
01:49One thing I want to do is to add the Layer Comps panel to this panel
01:53configuration, because I often use layer Comps when I'm slicing an image in Photoshop CS3.
01:59So I'm going to go to Window menu at the top of the screen and I'm going to go
02:03down and choose Layer Comps.
02:06That opens the Layer Comps panel as a flyout panel from an icon in an inside
02:12column of docked panels.
02:14I'll click that icon to close the Layer Comps panel and now I have the panel
02:19configuration that I want for my Web Design workflow.
02:22Let's check that our keyboard shortcuts are also still set for Web Design.
02:27I'm going to go to File and I'm looking at Save for Web and Devices.
02:32In the previous movie, I showed you how to change the awkward shortcut that's
02:36associated with this command by default to an easier shortcut, Command+Comma on
02:40the Mac, or Ctrl+Comma on the PC, and that command is still there.
02:44I'll check another shortcut that I set up in the previous movie.
02:50In the Layer menu, I'll go down and check New Layer Based Slice and there is the
02:55F5 shortcut that I added as a custom keyboard shortcut.
02:59So now that I've got everything set up the way I wanted in terms of keyboard
03:03shortcuts and panel configurations for my Web Design workflow,
03:07I'm going to save that as one bundle by moving to the Workspace button in
03:12the Tool Options Bar.
03:14From the Workspace menu, I'm going to choose Save Workspace.
03:18I'll name this 'my web workflow' workspace.
03:24I'm going to capture both my Palette Locations and my new Keyboard Shortcuts,
03:30but I'm really not interested in capturing those purple menu labels, so I'm
03:34going to uncheck menus, and then I'll click Save.
03:38Now I'm going to go back to the default configuration by going to the Workspace
03:42menu and choosing Default Workspace and I'm doing this so I can show you how
03:47easy it is to toggle back and forth between the original Default Workspace and
03:53the special customized 'my web workflow workspace' that we just set up.
03:58So here I'll choose Default Workspace. Notice that all the panels are back to
04:01their defaults, and under the File menu Save for Web and Devices now has its
04:06long awkward shortcut, and under the Layer menu, New Layer Based Slice has no
04:12shortcut at all, which is the default behavior.
04:15Now if I want to go back to my customized web workspace at any time, I just
04:20go to the Workspace button at the top of the screen in the Tool Options Bar and
04:25I choose my web workflow.
04:28And now I've got all my palettes the way I want them, and I've got my keyboard
04:32shortcuts for Save for Web and Devices and for New Layer Based Slice.
04:40That completes our look at the Photoshop CS3 interface.
04:44In the next chapter, we are going to be tackling a new subject, Digital Asset
04:49Management, using a program that ships with Photoshop CS3, Bridge CS3.
04:54I hope you'll join me for that chapter of movies.
Collapse this transcript
2. Managing Digital Assets with Bridge
Overview of Bridge
00:00When you're designing a website, you'll have a lot of assets to organize.
00:05You'll have source assets, like native Photoshop documents or maybe some raw
00:09digital photographs, which are not optimized for the web.
00:13And then you'll have optimized versions of assets.
00:17You may have some JPEGs, some GIFs, some PNGs, some SWF files that you have
00:22finished processing and compressing for using your website.
00:26One of your important jobs as a site designer or producer is to manage all those
00:30assets, and that's where Adobe Bridge comes into play.
00:35The focus of this chapter is managing digital assets for the web using Adobe Bridge CS3.
00:42In the first movie in this chapter, we'll be looking at the structure of the
00:45Adobe Bridge interface as we browse through some website assets in Bridge.
00:51In later movies, we'll discuss some ways to organize and manage website assets
00:55in Adobe Bridge CS3.
00:58So, what is Bridge?
01:00Bridge is an animal called a Digital Asset Manager.
01:05It's a type of program that's used to browse, organize, and manage digital
01:09assets for your websites.
01:11If you own a copy of Photoshop CS3 or one of the Adobe Creative Suite 3
01:16packages, you have a free copy of bridge on your computer.
01:20Although Bridge is not technically part of Photoshop, it is designed to be used
01:24with Photoshop as well as with other Adobe Creative Suite programs, and that's
01:29why we are talking about it here in a Photoshop title.
01:32We're talking about Bridge near the beginning of this Photoshop title because
01:35managing site assets is something you need to think about and start doing right
01:40from the beginning of your design process.
01:43So let's get in and launch Bridge.
01:45You can launch Bridge from any Creative Suite app, including Photoshop.
01:50There are several ways to launch Bridge from Photoshop.
01:53If you would like Bridge to always open every time that you open Photoshop, then
01:57you can go into your Photoshop Preferences.
02:00On a Mac, Preferences are located under the Photoshop menu, and on a PC,
02:07Preferences are located in the Edit menu.
02:09I am going to choose the General category in Preferences, and here you can see
02:14that there is a checkbox for Automatically Launching Bridge, and that means that
02:18Bridge will open whenever you open Photoshop,
02:21but I'm not going to do that because I'm going to show you next how to open
02:24Bridge on a case-by-case basis.
02:26So, I'll just cancel out of this dialog.
02:29If you do want to open Bridge on a case-by-case basis, you can just go to the
02:33File menu in Photoshop and choose Browse, or you can go to the Tool Options Bar
02:41and click the little Bridge icon here.
02:45If Bridge is not already open, that will launch the program, and you can see the
02:50main Bridge interface here.
02:52We're going to explore that interface in the next movie.
Collapse this transcript
The Bridge interface
00:00Now that you know that Bridge can be used as a Digital Asset Manager for website
00:05assets, and you've learned how to launch Bridge, let's take a look at the Bridge
00:10Interface, which is basically the collection of panels that you see here.
00:14Let's say you are browsing to take a look at some digital assets that
00:18you're using in a website.
00:20A good place to start in Bridge is over in the Favorites panel on the left.
00:25The Favorites panel is a collection of frequently accessed locations on your hard drive.
00:30In this case, I know that I'm looking for some assets that are somewhere on my desktop.
00:34So, I'll click on Desktop in the Favorites panel.
00:36Now if I want to drill down further, I'll click on the Folders panel.
00:42Here I can see a hierarchy of folders.
00:44I'm going to click the arrow to the left of the Exercise Files folder, located on
00:48my Desktop, and I'll see a hierarchy of subfolders in the Exercise Files folder.
00:54I'm pretty sure the files I want are in the chapter02 folder, so I'll move my
00:57mouse there and click.
01:00Now I can see, in the main Content panel in the middle of the screen, thumbnails
01:04of all of the assets that are in that chapter02 subfolder, including some more
01:10subfolders, formats and javaco_images.
01:12I can get a better view of any one of these images by clicking its thumbnail,
01:17here in the Content panel.
01:21Over on the right, I see a larger higher-quality preview of the selected image,
01:26and below, in the Metadata panel, I see information about that selected image.
01:32If the image is a photograph, like this one, some of that information is arranged
01:36in this LCD screen that resembles the LCD on a digital camera.
01:40So for example here, we can see the shutter speed at which the photo was taken,
01:45the f stop that was used when the photo was taken, and even the ISO that is the
01:50equivalent of film speed.
01:53Moving down in the Metadata panel, we see more information about the File
01:57Properties, and here, we see some information called IPTC Core, and if I twirl
02:03down the arrow next to that entry, I see some fields that I can actually fill in
02:07here, appending some more metadata to this file.
02:11So for example, if I wanted to list the creator of this photograph, I could
02:15click in this space to the right of Creator and I could type the name of the author.
02:22This is true of any of these fields where you see a little pencil icon.
02:26Behind the Metadata panel is the Keywords panel.
02:30Here I can assign keywords to any selected images, and then, later, I can search
02:35by those keywords to help locate images on particular subjects, and we'll look
02:40more at keywording in a later movie.
02:42And finally, over on the left, I have a Filter panel, which we are also going to
02:47investigate in a later movie.
02:48That helps me to sort and find files with particular characteristics.
02:54So, that's an overview of the Bridge Interface.
02:57In the next movie, we'll learn how to customize the Bridge Interface to suit
03:01your individual needs.
Collapse this transcript
Customizing Bridge
00:01In this movie, we'll look at how to customize the Bridge Interface to suit
00:04your personal workflow.
00:06We'll also learn how to save custom workspace configurations so that you can
00:10return to them in the future.
00:12One thing that you can do is to change the size of the thumbnails in the Content panel.
00:18To zoom in and make the thumbnails bigger, I am going to press a keyboard
00:21shortcut, Command+Plus on the Mac, or Ctrl+Plus on a PC.
00:27That zooms in to make the thumbnails pretty big.
00:30And then to go the other way and zoom out, press Command+Minus on the Mac,
00:34or Ctrl+Minus on a PC.
00:38You could also use the slider at the bottom of the Interface to do the same
00:41thing, zooming in, zooming out.
00:46You can change the spacing between any of the panels in the Bridge Interface.
00:51So for example, I might come over to the right-hand side of the screen and hover
00:55over the border between the Preview panel and the Keywords panel and move down
01:00if I wasn't interested in seeing my keywords but I wanted to have a bigger
01:03preview of this image.
01:05And notice that the preview adjusts itself to just fit in the Preview panel, no
01:09matter what size I make that panel.
01:12Now I'm going to hover over the vertical border here between the Preview panel
01:15and the Content panel and move over to the left, and Bridge zooms into my image
01:22to fill that new Preview panel space.
01:26Bridge comes with some preset configurations that look quite different than the
01:31default that we've been playing with here.
01:33If you move to the bottom of the screen, you'll see three buttons, numbered 1, 2 and 3.
01:38I'm going to click-and-hold on the first button, then select Light Table from
01:43the resulting menu and the interface changes configuration to resemble a Light
01:47Table. In other words, all of the panels have moved away and all we see is the
01:52Content panel with its thumbnails filling the entire screen.
01:56Let's take a look at another preset workspace.
01:59Now I am going to click on button number 2 at the bottom of the screen, and I
02:04see a new configuration.
02:06This is the horizontal filmstrip, in which the Content panel is at the bottom
02:11with its thumbnails and I can click on those thumbnails to see larger versions
02:15of the images in the Preview panel, which is now up here.
02:19Let's try one more.
02:20I'm going to click on buttons number three and this takes me, by default, to this
02:24Metadata view, where I see the Content panel with its thumbnails here with
02:29information about each thumbnail to the right.
02:32You don't have to accept the presets that are associated by default with each
02:36one of these buttons.
02:38So let's say for example, I wasn't interested in this Metadata view and I wanted
02:42button number 3 to bring up a different configuration.
02:45Then I could go down to button number 3, press-and-hold and choose, instead
02:50of this Metadata Focus View, say the Vertical Filmstrip View.
02:57Now I've got my Content panel here on the right and I've got big
03:01previews here in the middle.
03:03I can scroll up to see more thumbnails here and click through them to see large previews.
03:09I really like this configuration.
03:12In fact, I like it so much that I would like to modify it a bit and save it as my
03:17own custom configuration.
03:19First thing I'd like to do is to close all these panels on the left.
03:23So, I am going to go and hover over the bar between the column of panels on the
03:27left and the Preview panel and drag over to the left.
03:31And then I'm going to go to the right and hover over the bar between the Preview
03:36and Content panels and drag to the left until I see two columns of thumbnails.
03:43That's the configuration that I want to save.
03:45So, I'll go down to button number 3 yet again, press-and-hold and
03:51choose Save Workspace.
03:54I'll call this 'double vertical' and click Save.
04:00Now this workspace is available for me to access any time.
04:04So let's say, for example, that I went back to the first button and was in Light
04:09Table View, I could always get back to my custom double vertical configuration
04:14by pressing button number 3.
04:15I want to show you one more thing about customizing Bridge.
04:21You can minimize Bridge to its compact configuration by going to this button at
04:26the top-right and clicking.
04:29Now Bridge is minimized to Compact mode.
04:32This is useful because you might have another program, like Dreamweaver, open
04:35behind Bridge and you could just take images from Bridge and drag them from the
04:41Bridge Interface into the Dreamweaver Interface, if that were open, and that
04:45works with some other programs as well.
04:47Now that you know how to customize Bridge to your liking, let's move on to
04:51the heart of the Digital Asset Management matter, organizing your assets in
04:56Adobe Bridge.
Collapse this transcript
Organizing assets
00:00In this movie, we're going to get down to the nitty-gritty of using Bridge as a
00:04Digital Asset Manager for Web work.
00:06We're going to be using Bridge to organize some assets for a website.
00:11If you've been working along with me, then your copy of Bridge may look like
00:14mine, because at the end of the last movie we minimized Bridge to this Compact mode.
00:20To bring it back to Full mode, I am going to go to this icon at the top-right of
00:24Bridge and click there, and then to make sure I am in Default View, I am going
00:30to go to Window>Workspace> Reset to Default Workspace.
00:36Our goal in this movie is to take all of the assets that you see here in the
00:40Content panel of Bridge and organize them into two groups.
00:45In one group, we'll put all of the files that have already been optimized for the
00:49web, and in the other, we'll put all of the Source Files,
00:52files that have not yet been processed and optimized for the web, but that we
00:56are considering using in a website.
00:57We'll start by creating two folders on our desktop to contain those two
01:01categories of assets.
01:04From inside Bridge, you can create new folders
01:07that will actually be created on your hard drive.
01:10In order to access the desktop from Bridge, I'm going to go to the Favorites
01:13panel on the left and I'm going to click on the Desktop Favorite.
01:17Then I'm going to go into the Content panel of Bridge and on a Mac, I am going
01:22to hold the Ctrl key as I click, on a PC you would right-click, and that brings
01:28up this contextual menu from which I'm going to choose New Folder.
01:32I'll name the new folder Source Files, and I'll click at the empty area of the Content panel.
01:40I'm going to repeat that, Ctrl+Click on a Mac or right-click on a PC, and make
01:45another new folder and I'll call this one Optimized Files.
01:51Now I want to be sure that I have favorite shortcuts to these two folders and
01:56so I am just going to take both of them by Command+Clicking the two folder
02:01icons, on a PC that would be Ctrl+Clicking, and dragging both icons into the Favorites panel.
02:07Now it's important that you not land inside of one of the existing folders
02:11there. Instead, make sure that you see a light-blue line, like my line here under
02:16the word, Jan, and then let go, and that creates shortcuts to both of those
02:20folders, which live on the desktop of your computer.
02:24I am going to make one more shortcut, this time to the chapter02 Exercise Files folder.
02:30I'll double-click the Exercise Files folder here in the Content panel, I'll
02:34select the chapter02 folder and I'll drag it into the Favorites panel, again
02:39releasing my mouse when I see the light-blue line.
02:42Now, I'm going to select the chapter02 folder and, in the Content, panel notice
02:47that we have thumbnails for each file that's in the chapter02 folder and there
02:52are even thumbnails for two subfolders that are inside the chapter02 folder.
02:57One of those subfolders is called Formats.
03:00Let's take a peek inside of that subfolder by double-clicking it.
03:05I wanted you to see all of the odd file formats that are in this folder, so that
03:11you know that Adobe Bridge can display not just GIFs and JPEGs and Photoshop
03:16documents but files made in all kinds of other applications, particularly Adobe
03:21Creative Suite 3 applications.
03:23So for example, here we have an AI file from Illustrator, an EPS file from Illustrator.
03:29This is an InDesign file. Here is a TIF and even a Windows Bitmap file.
03:35That's because Adobe Bridge is intended to be a central hub for all kinds of digital assets.
03:41Let's go back up to the chapter02 folder by clicking this Go Up icon at the top
03:45of the screen, and now what I'd like to do is to flatten these two subfolders so
03:50that their contents appear in the Content panel, right up at the same level as
03:55all these other files.
03:57To do that, I'm going to go over to the Filter panel on the left and I'm going
04:01to click this icon, one of my favorite new features in Bridge CS3.
04:06This is the Flatten Folder icon.
04:08Keep your eye on the Contents panel as I click this icon.
04:12Notice that the subfolders have now disappeared and their content, for example
04:17the teapot bitmap file that we saw a minute ago, now appears up at the same level
04:23as the chapter02 content.
04:26Now what I want to do is to filter out all the files that are of file formats
04:32that are not compatible with the web, because those files are ones that have not
04:36yet been processed for use in a website.
04:39And I want to store those in the Source Files folder that we made and saved
04:43here as a favorite.
04:45I don't have to filter those non-web- friendly files out by hand. Instead, I'm
04:50going to use a filter that's built into the Filter panel over here on the left,
04:55and that's the File Type Filter.
04:58This filter lists all the different file formats that are represented currently
05:01in the Content panel along with a number that represents how many of each kind
05:07of file are there in the Content panel.
05:10I'm going to put a checkmark to the left of each file format here that is not web-friendly:
05:15Bitmap, EPS, we'll skip GIF because that is a web format,
05:20Illustrator, InDesign, JPEG's a web format, Photoshop and TIF.
05:25And as I did that, the files of those formats showed up in the Content panel, and
05:31only those files are there now.
05:33So now, I can select all these non- web files, clicking at the top-left file,
05:39holding the Shift key and clicking the bottom-right file, and drag all those
05:43non-web files, those files that haven't yet been processed for the web, into my
05:48Source Files Favorite in the Favorites panel.
05:53Now that I've moved all the files that are not web-friendly into the Source
05:56Files folder, the only files that still remain in the chapter02 folder are
06:02those that we see here,
06:03those that do have web- friendly suffixes, JPEG or GIF.
06:09However, I don't have any way of knowing whether all of these JPEGs have really
06:14been processed and compressed for the web.
06:17One way to find out would be to check their file sizes.
06:20And to do that, I'm going to turn on a Preference in Bridge Preferences, up here
06:25at the top of the screen.
06:26On a Windows machine, you would go to the Edit menu. Here on a Mac, I'll choose
06:30Bridge CS3 and then Preferences.
06:34In the Preferences dialog box, with the Thumbnails category selected, I'm going to
06:39go down to the Details area and click Show Size. Click OK, and now beneath each
06:46thumbnail in the Contents panel, we see the size of the corresponding file.
06:50I am now going to go back over to the Filter panel and I'm going to click Sort by Filename.
06:58As you can see here, you can sort all of the thumbnails that are in the Content
07:02panel by lots of different parameters and one of those parameters is File Size.
07:09When I do that, these thumbnails all line up nicely from the smallest to the largest.
07:15I'm going to make the assumption that any file here that's over say, 45
07:19kilobytes probably hasn't been consciously compressed for the web. Even though
07:23some of these files are JPEGs, they may have come from some other kind of
07:28non-web source, like a digital camera or a stock photo agency and still have to
07:33be optimized for the web.
07:34So, I'm going to select all of the files in the second row and in the third
07:39row by clicking the first of those and then holding the Shift key and clicking the last.
07:44And then I'm going to drag all of those files, which I'm assuming are not
07:48ready for the web, into the Source Files folder, the shortcut to which is in
07:53the Favorites panel.
07:54What we are left with here are all files that are web-ready and are small enough
08:00to put on a website.
08:02These are my optimized files, which I've selected out of that large folder, full of images.
08:08And so I'm going to select all of these optimized files by clicking on the
08:12first, holding the Shift key, clicking on the last and they are all going to be
08:16dragged into my Optimized Files folder.
08:20So, that's how I would go about arranging my digital assets using Adobe Bridge
08:25CS3 as my Digital Asset Manager.
08:29We can refine our selections a little more by using some other new features in
08:33Adobe Bridge, and that's what we'll do in the very next movie.
Collapse this transcript
Comparing assets with the Loupe
00:00In the last movie, we took a look at how to organize some digital assets for a
00:04website using Adobe Bridge CS3.
00:07In this movie, we are going to refine that organization using some terrific new
00:12organizational tools that are in Bridge CS3 for the first time, and those are
00:17the Comparative Preview, the Loupe tool, and the Stacking feature.
00:21So let's get started by selecting our Optimized Files folder that we created in
00:25the last movie, in the Favorites panel on the left-side of Bridge.
00:30I have thumbnails for a JPEG version and a GIF version of the same file and I'd
00:35like to compare those.
00:36So I'm going to click on the JPEG version, then I'm holding the Shift key and
00:40clicking on the GIF version.
00:43If you wanted to select two files that were not adjacent to one another, you
00:46would hold down the Command key on a Mac, or the Ctrl key on a PC.
00:51We now see a preview of both files over here in our Preview panel.
00:54I'm going to expand the Preview panel a bit, so we can just get a little bit
00:59closer view of those files.
01:01I really can't compare these previews at this size.
01:04So, I am going to use the new Loupe tool to compare the two.
01:08All I have to do is click on either one of these two previews and the Loupe tool appears.
01:14The loupe, by default, shows you a small area of your image at 100%, and you can
01:19take the loupe by its top-left corner and drag it around the image, and wherever
01:23that corner is, we see in our loupe, at 100%.
01:28That lets us see in this JPEG, for example, that there are some artifacts,
01:31particularly around the text JAVACO tea.
01:36Now I'd like to do the same thing in the GIF.
01:37I'd like to match the location of the two loupes that I am going to be using.
01:42So, I'll start by dragging the first loupe, by its left corner, up to the top-left
01:49of the JPEG, as far as it can go.
01:51And then, I'm going to click in the GIF and that gives me a second loupe
01:55over there, and I'm going to drag that loupe by its corner to the top-left of the JPEG.
02:00When you get there, you can't go any further, so you know you are in the right place.
02:04Then I'm going to hold down the Command key on a Mac, or the Ctrl key on a PC and
02:09I'm going to click the top-left corner of either loupe and start dragging.
02:13And now they move together, both showing me a corresponding area of the two images.
02:19So now, I really can get in and compare at 100% view what the two look like.
02:24And that shows me that the GIF really did a better job of compressing
02:27this particular image.
02:28And over here, when I look at the file sizes, I see that it's only 1 kilobyte
02:32larger than the JPEG, so I probably would choose to use the GIF in this case.
02:37If I wanted to zoom in closer than 100%, I would hold the Command key on a Mac,
02:43or the Ctrl key on a PC and click the Plus key.
02:49And that will take me in so I can get a closer view, and then if I want to zoom
02:53out I hold the Command or Ctrl key and click the Minus key, and I can go back to 100%.
03:00That's the smallest I can go.
03:02When I'm ready to close a loupe, I just click its top-left corner and I'll
03:06close this one too.
03:08So, that's how you use the Loupe tool.
03:10Next, we are going to take a look at how we can use the Stacking feature.
Collapse this transcript
Stacking assets
00:00In the last movie, we looked at how to refine your images using the Loupe tool
00:05and the comparative preview in Bridge CS3.
00:08Now that we've taken a look at the two selected thumbnails and decided that
00:11we like decaf.gif better, I'd like to stack them together in one group, inside the Content panel.
00:18This will organize my Content panel and will also indicate to me which of the
00:22two I like better, and tell me that the two are similar.
00:25This is particularly useful when you have lots and lots of thumbnails inside the Content panel.
00:30I am going to click off the two thumbnails and I am going to take the GIF,
00:34which is the version of the two images that I prefer, and I'm going to drag it over to the left.
00:41That will allow me to put the GIF on the top of the stack I am about to make.
00:46Now, I'm going to hold down my Shift key, and click on the JPEG version.
00:50With the two selected, I am going to the Stacks menu at the top of the screen,
00:53and I am going to choose Group as Stack.
00:56You can see that the shortcut for that is Command+G on a Mac, or Ctrl+G on a PC.
01:01Now, the two images are grouped one on top of each other in the Content panel
01:06with the preferred image, the GIF, on top.
01:09Let's make another stack.
01:10I'm going to deselect this stack by clicking in the blank area, and I am going
01:14to click on this white cup, and this brown cup image, and then I'll press
01:20Command+G on a Mac, or Ctrl+G on a PC to stack those.
01:24Then I'll click off.
01:27Now let's say that I want to see what's inside of this new stack that I have
01:31made of the two cups.
01:32All I have to do is to click on the number that indicates how many images are
01:36in the stack and the stack opens up, and I can see both thumbnails inside of that stack.
01:42Now let's say I reevaluate and I decide that I would like to have the brown cup
01:45on the top of the stack, that I like that one better.
01:47I am going to click off the stack and then I'm going to click on the brown
01:52cup image, and then I am going to go up to Stacks, and choose Promote to Top of Stack.
01:57And that will move the brown cup over and now if I go to Stacks, Close Stack,
02:02we'll see the brown cup as our selected image.
02:06Finally, if we decide that we want to ungroup images from a stack, with the
02:11stack selected, we just go up to the Stacks menu, and we choose Ungroup from
02:14Stack, and our stack goes away.
02:17So, that's how you can use Stacks to refine your organization of your digital
02:21assets in Adobe Bridge CS 3.
Collapse this transcript
Rotating, rearranging, and renaming
00:00In this movie, I'd like to show you a couple more things that will help you to
00:03organize your digital assets using Bridge CS3.
00:06One of those is the ability to rotate images that come in from a digital camera
00:11on their sides, which sometimes happens.
00:13Here for example, you can see our teapot.jpg image, which I'm going to click to
00:18select in the Content panel and then I am going to hold the Shift key down and
00:22select another image that's on its side, candles.jpg.
00:27With both of these images selected, I'm simply going to go up to the Rotate
00:31icons at the top of the Bridge interface, and I'm going to click the Rotate 90
00:36degree Clockwise icon to turn them as they need to be.
00:41Doing this is in Bridge doesn't degrade the image in anyway.
00:44It just adds a little bit of information that other programs can read about the
00:49proper orientation of your files.
00:50I would also like to show you how you can rename images that you bring in from a digital camera.
00:56Now, I am going to go into my Optimized Files folder that we created in an earlier
01:00movie, and here we see that we have a couple of images with these odd names.
01:05This is similar to the kind of names that your camera might give to images and
01:09often those aren't very helpful in your organizational scheme.
01:13It's easy to rename multiple images inside of Bridge CS3.
01:17I am going to click on one of these cup images and then I am going to hold the
01:21Shift key, and click on the other.
01:23Then I am going to go up to the Tools menu, and I am going to choose Batch Rename.
01:27That opens this dialog box, where I have lots of options.
01:31I could choose to move these images to another folder or to copy them to another
01:36folder, leaving the originals where they are.
01:38I am actually going to rename these in the same folder.
01:41That's not always the best plan though, because sometimes you don't want to
01:45write over your original files.
01:46But for purposes of this movie, that's what we'll do, so we can see the results here.
01:51Now, I'm going to go down and choose file names.
01:54From the first field, I can choose from any of these options.
01:58I'll choose Text, and I'll give these files a relevant name, teacup.
02:03The second field allows me to add more text if I want, I really see no need to
02:08do that, or I could choose one of these other options, like Date and Time for
02:13example, and I know that some people like to organize their digital images
02:16with Date and Time.
02:17In this instance, I want to keep my filename short.
02:20So, I'm going to actually delete this entire field by clicking the Minus sign
02:25over on the right of that field.
02:28Now, we have one more field, and that is, by default, set to Sequence Number.
02:32We can choose how many digits we want in our numbering sequence.
02:38I'll change this to Three Digits.
02:41We can also indicate which number we want to start with.
02:43So, I want to start with number 1.
02:47Down at the bottom, we can see the Current filename and then a sample of how the
02:51new filenames will look.
02:53Let's click Rename and now we see that our images have been
02:58automatically renamed.
03:00This is a change that appears not just in Bridge but also on your hard-drive.
03:05The same is true if you create new folders inside of Bridge, they also will be
03:09created on your hard drive, and if you move images from folder-to-folder, that
03:11will take place on your hard drive as well.
03:14So, you can see how helpful Adobe Bridge CS3 is in organizing the digital assets
03:21that you're using in your websites.
03:23This ability to rename images, to rotate images, and the other features that
03:27we looked at in this chapter make Adobe Bridge CS3 an application that you can
03:32really use to good advantage when you are trying to organize the assets for a
03:36website.
Collapse this transcript
3. Layer Basics
Understanding layers
00:00If you had to pick one Photoshop feature that you couldn't do without when
00:04you're designing graphics for the Web, odds are that feature would be layers.
00:08As a Web designer, you are frequently making layered compositions, like page
00:13layouts and navigation bars, and banner ads, and more.
00:17So, it's important that you understand how layers work.
00:19That's what we are going to be talking about in this chapter.
00:23In this movie, we'll cover what layers are, and the benefit of placing
00:27individual pieces of artwork on separate layers.
00:30If you're following along, open tea_layers_01.psd from the Chapter 03 Exercise
00:36files folder and make sure your Layers panel is open.
00:40An analogy that's often used to describe layers is to say that layers are
00:44like panes of glass.
00:45Imagine that you had several panes of transparent glass stacked one on top
00:50of the other and that you painted a different piece of artwork on each pane of glass.
00:56If you left some areas of the top pane of glass transparent, you would be able
01:00to see down through those areas to the artwork on the panes of glass below.
01:04Layers work the same way.
01:07Let's take a look at the layers in this composition to bring that analogy to life.
01:11You'll see in the Layers panel that there are three layers here.
01:16I'm going to turn the visibility of the top layer off for just a minute, so that
01:19we can see what's on that layer.
01:22Keep your eye in the Document window and you'll see that when I turn this Tea
01:26layer off by clicking the Eye icon to the left of the layer, the teapot and
01:31the teacup disappear.
01:33When I turn that layer back on, the teapot, and the teacup come back into the composition.
01:39Now, let's see what's on the layer below, the Fan layer.
01:42I'll turn its Eye icon off, and you'll see just the fan disappear.
01:49I'll turn that layer back on and you'll see the fan appear again in the
01:52composition, and notice that it appears below the teapot, and the teacup,
01:58because those objects are on the top layer, above the fan.
02:04Now, let's turn off the last layer, the Background layer, to see what's on that
02:07layer, and notice that everything else disappears, because that layer contains
02:12all of the other artwork in this composition.
02:15And by the way, when we turn off that Background layer, we can see these gray
02:20and white pixels here in the Document window, which always represent
02:23transparency in a Photoshop file.
02:25I am going to turn that Background layer back on, and now let's talk about why
02:31we've placed these separate pieces of artwork on separate layers.
02:34The reason to make liberal use of layers in your designs for the Web is that
02:38that gives you the flexibility to make changes to the artwork on a single layer
02:43without affecting the rest of the composition.
02:46So for example, let's say we wanted to take this fan and move it from the right
02:50side of the composition to the left side.
02:52All we would have to do is click on the layer that contains the fan.
02:59Once the Fan layer was selected, we'd go to our Toolbox and select the Move
03:04tool and then simply click and drag in the composition to move the artwork
03:09that's on the Fan layer.
03:11What's important to notice is that none of the other artwork is being affected
03:15by this move, just the fan, because it's the only thing on the fan layer.
03:21That isn't all I could do to the fan.
03:23Let's say I wanted to change the color of the fan.
03:26In that case, I'd go over to the Toolbox, and I'd click on the Brush tool, which
03:29is right here, and I'm going to hold my mouse down on the Brush tool to select a
03:34variation of the Brush tool,
03:35this Color Replacement tool.
03:38It doesn't matter, at this point, if you really understand what that tool does or
03:41which color you may have selected to paint with here.
03:44Just go ahead, and select that tool, because I want you to see that no matter
03:48what you do to the Fan layer, it is only going to affect the fan.
03:52So in this case, I am just going to click-and-drag over the fan to change its
03:56color, and the take-home point is that only the color of the fan is changing,
04:02not the color of the artwork on the other layers.
04:05So that's an overview of what layers are, and what the primary benefit is of
04:09making use of layers in your designs.
04:12In the movies to come, we'll be looking at some other things you can do
04:15with layers.
Collapse this transcript
Creating layers
00:00In this movie, we're going to learn a real basic of using layers, that's how to create layers.
00:07If you're working along with me, open tea_layers_02.psd from the chapter03
00:12Exercise Files folder.
00:14There's more than one way to create a layer in Photoshop.
00:17I think the easiest way to create a layer is this.
00:20First, go to your Layers palette and click on the layer above which you want to
00:25bring in your new layer.
00:27In this case, I want to draw something on top of the teapot on a new layer, so
00:31I'm going to select the tea layer here. Then go to the bottom of the Layers
00:35palette and click on the Create New Layer button here, right down here, and that
00:40makes a new layer above the layer you have selected.
00:43The new layer comes in with a numerical layer name.
00:47I'm a real stickler for giving layers meaningful names because I know I'm going
00:52to want to search for a layer later and it'll be a lot easier if the layers
00:55have meaningful names.
00:57To rename a layer, double- click directly on the layer name.
01:01Don't make the mistake of clicking over here, which does something else.
01:05It opens a big dialog box called Layer Styles. Instead, double-click directly on the layer name.
01:11Type in the new layer name and I'm going to call this one 'stems', and then click
01:17off the editing field.
01:18Let's just give some content to this layer real quickly. With the stems layer
01:23still highlighted, go over to the Toolbox and select the Brush tool.
01:28It doesn't matter which colors you have selected, just go in and draw some lines
01:32on top of the teapot that sort of resembles stems of a plant.
01:37Now let me show you another way to make a new layer.
01:40You may prefer this one.
01:42I'd like to make a new layer above the stems layer so I'll make sure the stems
01:46is selected in the Layers panel.
01:48Then I'm going to go up to the layer menu at the top of the screen, and I'm going
01:52to choose New>Layer.
01:55That opens this New Layer dialog box and here I can give my new layer a name
02:00right at the same time that I'm creating it.
02:03So, I'll type here 'berries' as my new layer name.
02:06There are some other options here, but to be honest, I usually don't use these
02:10and I'll just click OK.
02:12And now we have a new layer that comes in with a meaningful name.
02:15Let's add some content to this layer.
02:17With that berries layer selected in the Layers panel, I'm going to go into the
02:22document and I'm going to switch colors to my background color here by pressing
02:27the X key on my keyboard.
02:29If you prefer to just stay with the same color, that's fine.
02:32And then I'm going to paint some berries by just clicking on my stems here, and
02:37notice that I'm putting the berries right on top of the stems and that works
02:41because our berries layer is on top of the stems layer, in the Layers panel.
02:47Now let's learn one more way to create a new layer and that is to bring an image
02:51in from another file.
02:53With this method, I want to select the layer above which I want my new layer to
02:57come in and to do that, I'm going to expand my Layers panel so I can see all the
03:03layers here by clicking the bottom-right corner of the Layers panel and dragging down.
03:09I'm going to select the Background layer, so that my new layer comes in just
03:12above the Background layer.
03:14If you're working along with me, go to your chapter03 Exercise Files folder
03:19and open tea_light.psd.
03:21Now there are two images open on your desktop.
03:27If you can't see them both, just grab them by their title bars and move them
03:30around so that you can see both images.
03:33With tea_light.psd active, look at the Layers panel and you'll see that there's
03:37just a single layer here and it's been named 'lantern'.
03:41It's a lantern on a transparent background.
03:44Now go to the Toolbox and click on the Move tool.
03:49Go back to tea_light.psd and this is important.
03:52I want you to hold down the Shift key and then drag from anywhere inside
03:56tea_light.psd into tea_layers_02.psd and make sure you see this gray bounding
04:03box and that it's all the way inside tea_layers_02.psd and then release your
04:08mouse, and then release the Shift key.
04:12The reason that I had you hold down the Shift key is so that the lantern would
04:17come into our tea_layers image and land in the exact same place that it had been
04:23in the tea_light image, up in the top-left corner.
04:26If you hadn't held down the Shift key, then tea_light.psd, or the lantern, would
04:31have landed wherever you released your mouse over here in tea_layers_02.psd.
04:37Let's close tea_light.psd.
04:39We don't need that one anymore, and let's take a look at the Layers panel
04:43for tea_layers_02.psd.
04:45Sure enough, here is our lantern layer.
04:48It comes in with the layer name from the original file, which is a nice thing,
04:52saves us a step and that new layer is just above the Background layer that we
04:56had selected before we made this move.
04:59So, those are three ways to create a new layer in Photoshop CS3.
05:04In the next movie, we'll look at how to change the stacking order of layers so
05:08that we can get this lantern out from behind this plant.
Collapse this transcript
Layer stacking order
00:00In this movie, we're going to take a look at how to change the Stacking Order of
00:04layers in the Layers panel.
00:06In the last movie, I showed you how to create this lantern layer, here at the
00:10bottom of the Layers panel, by dragging in the image of the lantern from another file.
00:16Taking a look at the image, I really don't like the way the lantern looks
00:19here behind the plant.
00:20I'd like to see how it looks in front of the plant instead.
00:23That's easy to do. All we have to do is go to the Layers panel and change the
00:28Stacking Order of the layers.
00:30I want to move the lantern layer above the plant layer.
00:35To do that I'm going to click on the lantern layer and drag up in the Layers
00:39panel, and when I get above the plant layer I'll see the top border of the
00:44plant later become dark.
00:46As soon as I see that I can release my mouse, and the lantern layer is now above
00:53the plant layer in the Layers panel.
00:55Now let's take a look at the image, and sure enough, the lantern is in front of
01:00the plant in the image.
01:01So, that's how easy it is to change the layer's Stacking Order in the Layers panel.
01:06In the next movie, we'll look at another layers basic, how to delete layers.
Collapse this transcript
Deleting layers
00:00This movie covers something you'll do all the time in Photoshop, deleting layers.
00:06If you're working along with me, open tea_layers_04.psd from the chapter03
00:11Exercise Files folder.
00:13There are a couple of different ways to delete layers.
00:15Let's say that we don't like this lantern in the image.
00:18The first thing we can do is to temporarily make it invisible to see how the
00:22image would look if we did delete this layer.
00:25To make the lantern layer temporarily invisible, I just click on the Eye icon to
00:29the left of that layer and it disappears from the image.
00:33To bring it back in, I click again.
00:36Now let's say we really do want to delete this layer.
00:40One way to do that is to select the lantern layer and then to go down to the
00:44bottom of the Layers palette and click the small Trash Can that you see there.
00:49Photoshop gives you another chance to change your mind before it deletes the layer.
00:53If you do want to delete the layer you click Yes, if you don't you click No.
00:57I'm actually going to click No this time, because I want to show you another
01:02way to delete a layer.
01:04I often delete layers by just clicking on a layer and dragging it down to the
01:10bottom the Layers panel on top of the Layer trash.
01:14The danger of doing it this way is you don't get that second chance warning,
01:17but it is a lot faster.
01:19So when I do release my mouse here, the lantern layer disappears, and it's
01:24gone. You cannot reopen this Trash Can like you can the Windows Recycle Can
01:29or the Macintosh Trash.
01:31So at this point, if I needed to get my lantern layer back, all I could do is
01:35undo or go to the History palette.
01:38In the last few movies, we've been looking at the basics of working
01:41with individual layers.
01:42In the next movie, we're going to learn how to work with multiple layers.
Collapse this transcript
Working with multiple layers
00:00In the last movie, we talked about ways to work with individual layers.
00:04In this movie, we are going to look at how to work with multiple elements
00:07on multiple layers.
00:09This comes in particularly handy when you're building a layered web graphic,
00:13like a Navigation Bar with multiple buttons, or a page comp or a logo with
00:17multiple elements in it.
00:18We will talk about how to select and work with multiple layers, to group layers,
00:23to link layers, and more.
00:24If you're working along with me, open buttons.psd from the Chapter03
00:29Exercise Files folder.
00:31In the Layers panel, you see that we have lots of layers in this file.
00:35Let's turn these on and off temporarily just to see what we have here.
00:39If I turn off the PRODUCTS layer, you'll see the text on that gray button
00:43disappear and appear, and then we have underneath that a gray button
00:47associated with that text.
00:48And as I go down here, you'll just see the text and the button for each one of these.
00:58And then we have three layers associated with this logo up here.
01:01We have the javaco tea layer, which is a rasterized text layer, which means that
01:06it started out as a regular editable text layer, like these other layers with the
01:10T on them, and was rasterized so that it becomes just a pixel-based layer.
01:15We did that because we used a special font and we wanted it to look the same on
01:18your system as it does on ours.
01:21Here's the smoke curl layer, a graphic, and here's the green rectangle layer.
01:26So, those last three layers make up this logo, and then, finally, we have a white
01:30background with green stripes at the top and bottom.
01:33First, I want to show you how you can select multiple layers and then work with
01:38the multiple-y selected layers.
01:41I am going to select the three layers that make up this logo.
01:44In the Layers panel, I am going to click on the javaco tea layer, I am going to
01:47hold down the Shift key and then I am going to click all the way down here on
01:51the green rectangle layer and that will select those two layers and the layer in between.
01:57With the three layers selected, I can now affect the content of all three layers.
02:01So for example, I can go to the Toolbox and select my Move tool, and then
02:06click-and-drag and the content of all the layers goes with me and I'll place the
02:10logo over here on the left rather than the right.
02:13I also can align the content of the three selected layers.
02:17With the Move tool selected, in the tool Options Bar, I have lots of buttons
02:23that will automatically allow me to align and distribute the content of selected layers.
02:28In this case, I'll click this button right here, the Horizontal Alignment
02:31button, and when I do, keep your eye on the logo in the document window, and
02:35you'll see that just clicking that single button has completely changed the
02:39composition of this logo.
02:40Now I want to deselect those three layers, and to do that, I am just going to
02:44click in the blank area at the bottom of the Layers panel.
02:48I use the same multiple selection and alignment technique to line up these four
02:53gray buttons, each of which is on a separate layer, and the same technique to
02:58align each piece of text to its button.
03:01I finished these three buttons.
03:02Let me just show you how I did that with the Products button.
03:05I will go to the Layers panel, and I will click on the PRODUCTS layer.
03:09I will hold the Shift key and I will click on the button products button, and
03:13then with the Move tool selected in the Toolbox, I will go up and click on the
03:17Align Horizontal Centers button and the PRODUCTS text move over to the center of its button.
03:22I'm also going to click on the Align Vertical Centers button here to move the
03:27PRODUCTS text up to the middle of the button, and then in the Layers panel, I
03:31will click on the blank area to deselect.
03:34As you can see, selecting multiple layers, as we just did, is nothing
03:38permanent, it's temporary.
03:39You just put the layers together.
03:41You do what you have to do to them and then you deselect so they are no longer
03:44associated with one another.
03:46Sometimes, you want items to be more permanently associated, but to remain on
03:51separate layers so that each item can be edited independently of the other.
03:55A perfect example of that is text and its associated button.
04:00For example, I want to leave the PRODUCTS text separate so that I could change
04:05its font, its color, its size, or even the words on this text layer, but I want
04:11to make sure that text always moves and stays aligned to its button.
04:15So what I am going to do now is to click on the button PRODUCTS layer, hold the
04:20Shift key and click on the PRODUCTS type again, and then I'm going to go up to
04:25the Palette menu icon at the top of the Layers palette, and click.
04:30That's these three horizontal lines and that brings up the Layers palette menu.
04:34From here, I'm going to choose New Group from Layers.
04:40Photoshop asks what I want to call this group, I will call it the product
04:45button group, and say OK.
04:48Notice that the layers are no longer here in the Layers palette.
04:51They have been tucked up into this product button layer group and if I twirl the
04:56button to the left of that group, I can see my two layers.
04:59When I select the product button layer group and I click-and-drag, the content
05:03of both the PRODUCTS text layer and the button product layer go with me.
05:07I am going to undo to put that back where it was, and I will quickly group the
05:13other buttons as well.
05:14I will select the ABOUT US text and Shift+Click on its associated button, make a
05:20New Group from Layers, call it the 'about button', select the CONTACT text and its
05:28button, Make a New Group from those layers and call it 'contact button', and
05:41do the same for the Stores.
05:51Grouping layers like this not only allows me to work on the grouped layers
05:56together, but also to neaten up my Layers panel.
06:00So if I twirl the product button layer group closed, you can see how much easier
06:04it is to see what's in this layers panel than it was a few minutes ago when I
06:08had all the layers separate.
06:10You can also nest layer groups one inside the other.
06:13So for example, with the stores button layer group selected, I am going to hold
06:17the Shift key and I am going to click on the product button layers group and
06:21then I'm going to go back to the Layer palette menu.
06:24And I'm going to choose New Group from layers, and that's going to make a super
06:28group, which I will call 'buttons', and say OK.
06:33Now if I twirl down the arrow to the left of the button super group, I can see
06:37all the nested layer groups.
06:39If I take my Move tool and I click-and- drag, all of the buttons now go with me.
06:43So, that's a very useful feature as well.
06:46I also want to talk about linking layers.
06:49Sometimes grouping layers isn't practical.
06:52So for example, in this case, let's say that I wanted to group the javaco tea
06:57text here and the green rectangle, but I didn't want to include the smoke curl
07:02in the group, perhaps I want to keep the possibility open of easily substituting
07:05some other graphic here.
07:07Well, if I look at the Layers panel, you can see I can't group javaco tea with
07:12green rectangle because they aren't next to one another in the Layers panel, and
07:16they can't be because we need to keep the smoke curl in between for this visual
07:20effect that we see here.
07:22Although I can't group the javaco tea layer and the green rectangle layer, I
07:26can link them together, which puts them together relatively permanently.
07:31To do that, I select the javaco tea layer, and then I'm going to hold down the
07:35Command key on a Mac, or the Ctrl key and a PC and click on the green
07:39rectangle layer, and that allows me to multiple-y select nonadjacent layers in the Layers panel.
07:45Then I am going to go to down to the bottom of the Layers panel, and click on
07:49this Link icon and those two layers are now linked together.
07:53So for example, if I were to move with the Move tool, only those layers would
07:57move together, and not the graphic in between.
08:02So, I am going to undo and click at the bottom of the Layers panel to
08:07deselect those two layers.
08:09I'd like to show you one more feature that really comes in handy when you're
08:12trying to line up the elements on multiple layers and that is Smart Guides.
08:17The Smart Guide feature is off by default.
08:19So in order to use it, we have to go up to the View menu and go down to the Show
08:23menu and choose Smart Guides.
08:27Now with my Move tool selected, I am going to click on my buttons super group
08:32and then I'm going to come in and start moving this group of buttons and text.
08:37Now look at those pink lines that are appearing on the screen.
08:40These are the Smart Guides.
08:42These Smart Guides are showing me the edges and the center of the elements that
08:46I would like to align in my image, and as I move, different Smart Guides appear.
08:51When I get all the way over under the logo, I see a Smart Guide on the right,
08:55one on the left, and one in the center that tells me I am perfectly lined up
08:58here and I can let go of my mouse, and have a perfectly aligned logo and button bar.
09:03So I hope you will try out some of these techniques for working with multiple
09:07layers in Photoshop CS3.
Collapse this transcript
4. Color Basics
The decline of web-safe color
00:00In this chapter, we are going to take a look at choosing and using color in Photoshop CS3.
00:05The first thing I'd like to talk about is Web-Safe Color.
00:08I have some good news for you designers who are designing flat graphics like
00:12those you see here, and the good news is you no longer have to limit yourself to
00:16using a Web-Safe palette.
00:18The concept of Web-Safe palettes came up in the 1990's when most consumer level
00:24computers had only 8-bit video cards in them, and those video cards could
00:28display only a very limited number of colors, 256 colors to be exact.
00:34At the same time, some designers were fortunate to have more powerful computers,
00:38computers with 24-bit video cards that could display millions of colors. And so
00:44there was this disconnect where designers were designing images, like those you
00:49see here on the left, that had non-web-safe colors in them,
00:53but audiences were viewing those graphics on computers that could display only
00:58256 colors, and the results were often like those you see over here on the
01:03right, the colors and graphics would shift and graphics would look as if they
01:08have little dots in them.
01:10Those little dots are called dithering and they are the computer's attempt to
01:14simulate colors that it couldn't normally display.
01:18Nowadays, even consumer level computers are pretty powerful, most have 24-bit
01:24graphics cards in them, and so you don't get this sort of dithering and shifting
01:28problem on graphics design with non-web-safe colors.
01:31But once-in-a-while, as a designer, you may run into a boss or a client who asks
01:36you to design with Web-Safe colors.
01:38So, you should know that the Web-Safe Color palette is a specific palette of
01:43particular colors that will display accurately on a computer with an 8-bit video card.
01:48If you're in that boat where you have to design with Web-Safe Color,
01:51fortunately, Photoshop has features built in that make it really easy to choose web-safe colors.
01:58In the upcoming movies, I'll be describing Photoshop's Color Picker and
02:02Color Swatches, and I'll be sure to mention how you can choose Web-Safe
02:06colors from those tools.
Collapse this transcript
Using the Color Picker
00:00Many of the tools and features in Photoshop, ranging from the Paintbrush to the
00:05Type tool to commands like Fill and Stroke, use color.
00:10So, it's important to know the various ways that you can choose colors in Photoshop.
00:14Let's start by talking about the Eyedropper tool, which is one of the easiest
00:17ways to choose color.
00:18If you'd like to follow along with me, you can open this image,
00:22javaco_tea_coupon.psd, from the chapter04 Exercise Files folder.
00:27With the Eyedropper selected in the Toolbox, I am just going to come in this
00:30image and click on any of the colors, and if you keep your eye on this color
00:35box, right here, known as the Foreground Color Box, you'll see it change color
00:39as I sample colors from this open image.
00:42So, I've clicked on the green and the Foreground Color Box turns green.
00:46We'll change it to red.
00:47We'll try this light-gray.
00:50So, that's a really quick and easy way to select colors for use in Photoshop
00:54from other open images.
00:56What I find even more interesting is that you can use the Eyedropper to select
01:00colors from other locations on your screen.
01:03So what I've done here is I have opened a Web Browser and you can open your
01:07Browser to any web page.
01:09Select a web page that has a color scheme that you like, and then you can use
01:13those very same colors in your own work, like this.
01:17With the Eyedropper tool selected in the Toolbox, move into any open image in
01:21Photoshop, click and hold down the Eyedropper.
01:24Now don't let go and move out of that image anywhere else on your screen.
01:29So for example, here I'm going over this open webpage in my Safari Web Browser,
01:34and look at that Foreground Color Box.
01:36It's changing as I move my mouse, picking up whatever color I move over.
01:42So I might say, "Well, I like this very same yellow that's used in the lynda.com
01:46"website," so I am going to release my mouse and I have now chosen that yellow
01:51here in the Foreground Color Box, and I could use that in my own design. I am
01:55going to close this Web Browser and show you another way to choose color.
01:59The most popular way to choose a color is to open the Color Picker by clicking
02:03on the Foreground Color Box.
02:06The Color Picker has lots of useful features.
02:08Let me give you a quick tour.
02:10The Color Picker thinks about color is having three components:
02:14Hue, Saturation, and Brightness.
02:17Hue means the color, Saturation means how pure or intense the color is, and
02:22Brightness, of course, means the brightness or the darkness of the color.
02:25By default, the colors are arranged in this dialog box by Hue.
02:30This slider shows us a spectrum of hues.
02:33So, if I wanted to choose a green, I would start by moving this slider up to the green area.
02:38Then I would come over to the large square here, where I can see variations
02:42on that green arranged by Saturation, from right to left, and by Brightness,
02:48from top to bottom.
02:51I can click on a color there and that's my selected color.
02:55You can see that by looking at the square in the middle, which shows the
02:58currently selected color at the top and the last selected color at the bottom.
03:03I can rearrange my colors in this dialog box by clicking on the S button.
03:08Now, this slider is arranged by Saturation.
03:11At the top, I have highly saturated greens and at the bottom, less saturated greens.
03:17I can move to an area of saturation here and then select, in this case, a
03:21desaturated color from the square on the left.
03:24I can also arrange colors by Brightness.
03:26I'll click the Brightness button here and then I can move this slider up to
03:31select a bright value of this purple, or down, to select a dark value of this purple.
03:38The RGB and the CMYK fields often come in handy.
03:43If a client asks you to design with a specific color, perhaps a corporate color,
03:47he may give you particular RGB values, in which case you can type those right
03:51into these fields to pick that particular color.
03:54So, I'll just pick some RGB values like 110 Red, 66 Green, and 49 Blue, and that
04:04gives me this particular brown color.
04:06Another thing you can do in the Color Picker is to select Web-Safe colors.
04:10To do that, you go down to the Only Web Colors field here and put a checkmark in that box.
04:16I'm going to go back and choose Hue, and now I can see, over here, only Web-Safe colors.
04:23Right now, we are looking at some Web- Safe reds, and if I move this slider in
04:27the middle up, we see only Web-Safe colors.
04:30Here are some blues, and some Web- Safe purples, and some Web-Safe reds, and
04:37to select any of these, we can just click on it over in this big square on the left.
04:41So, those are the basics of using the Color Picker to select color.
04:44I am going to click OK here, and you'll see that we now have that last selected
04:50Magenta color in our Foreground Color Box.
04:53Notice that that same Magenta appears over here in the Color palette.
04:58The Color palette offers another way to select color.
05:01It also shows us the Foreground Color Box and the Background Color Box and it
05:05offers these sliders:
05:07a red slider, a green center, a blue slider, that we can use to mix colors.
05:11So, if you prefer to approach color more like a painter, you can use these sliders.
05:16So I will add more blue to this color, I will add a little bit of green, and
05:22perhaps I'll add some of the red here, and so you can see that we've changed the
05:25color here in the Foreground Color Box.
05:27And in here, I can click anywhere to get into a general area, say I want a
05:32green, and then I can use the sliders to modify that color.
05:36I can limit myself to choosing Web-Safe colors only here by going to the Palette
05:41menu, clicking and choosing Web Color sliders.
05:45And now each one of these sliders has little ticks on it, and I cannot choose
05:51anything between the ticks, and all of these ticks help me to select a Web-Safe color.
05:56So, those are some ways to select color in Photoshop.
05:59In the next movie, we're going to take a look at using this feature,
06:03the Swatches palette.
Collapse this transcript
Using swatches
00:00In the last movie, we looked at using the Eyedropper tool, the Color Picker and
00:04the Color panel as methods of selecting color in Photoshop.
00:08There is one more panel that we can use to select color and that's the Swatches panel.
00:14You can bring that to the foreground by clicking its tab.
00:17The Swatches panel basically contains collections of colors and I can select
00:21any of those colors by just clicking on it and notice that the foreground color
00:26box at the bottom of the Toolbox is changing as I select different colors here
00:31in the Swatches panel.
00:33Because I have the Type tool selected here, also in the Options bar for the Type
00:38tool when I click on the Swatch here, I get a new color.
00:41So, this is a quick way to try out different colors when you're applying Type.
00:46This is the default set of swatches, but there are other Swatches that you can
00:49load into this panel.
00:52To access those, go to the Panel menu at the top-right, click-and-hold, and move
00:57down to the bottom, and choose one of the other options here.
01:00There are PANTONE Swatches, and down here at the bottom, some Web Swatches that
01:05contain only Web Safe Colors.
01:07Let's look at one of those.
01:08The Web Hues Swatch.
01:11When I select that, I'm asked whether I want to replace this current default set
01:15of swatches, and I'm going to say OK.
01:17If I clicked Append, I would simply get the Web Hues Swatches in the panel at
01:22the bottom of appended to this existing collection of Swatches.
01:26So, I'm going to click OK here, and I now have a new arrangement of colors in my Swatches panel.
01:32I can select from these Web Safe Colors.
01:34One of the nice things about the Swatches panel is that a colleague can save a
01:40set of Swatches, send them to you, and then you can load them, so you can share
01:44the same colors if, for example, you're working on a project together.
01:48Here is how you load a set of Swatches.
01:50I'm going to go to the Panel menu icon here, click-and-hold, and I'm going to
01:56go down and choose not Load Swatches, which is what you might think but Replace Swatches.
02:01If you choose Load Swatches, you end up with your new set of swatches appended
02:05to the bottom of the old one.
02:07So, we'll Replace Swatches, and if you have access to the Exercise Files, you
02:11can do this along with me.
02:12I'm going to navigate to my Desktop, into my Exercise Files, into my Chapter 04
02:18folder, and I'm going to select color.aco, which is a Swatch created by Bruce
02:25Heavin of Lynda.com.
02:27I'm going to click Load, and you can see if I expand the Swatches panel by
02:32clicking on the bottom-right and moving down, that we have a brand-new set of
02:37Swatches, a pretty complex one that shows us Web Safe Colors here that are very
02:43saturated, other Web Safe Colors that are of medium saturation, and some
02:48desaturated Web Safe Colors as well, and then these colors are arranged by Hue
02:53as represented over here.
02:54Now you may be wondering how it is that Bruce put the Swatches panel together
02:59and that's what we're going to learn about in the very next movie on creating
03:02a custom swatch.
Collapse this transcript
Creating custom swatches
00:00In the last movie, we took a look at how to select colors from the Swatches panel.
00:04We also loaded a custom swatch that we found in our Exercise Files
00:08folder, Chapter 04.
00:10In this movie, I'm going to show you how you can create your own custom swatches.
00:14It's a really great thing to do if you're working with other people on a project
00:17because you can create a custom swatch perhaps based on some corporate colors
00:22that your client may have, and then share it with your colleagues, so that
00:25you're all on the same page about color.
00:27To prepare for this movie, I've opened javaco_tea.psd from the Chapter 04 folder
00:33in your Exercise Files.
00:35You can do that if you're following along with me.
00:37I also moved the Swatches panel out from the panel group that contain the Color
00:42panel, because I want to see them both.
00:45And I've reset the swatches to their defaults by clicking the Panel menu icon,
00:50and choosing Reset Swatches.
00:52Now, I'm ready to create a custom Swatch here.
00:56I'm going to go back to the Panel menu by clicking the Panel menu icon at the
01:00right of the Swatches panel, and I'm going to choose Preset Manager.
01:05Here, I want to make sure Preset Type is set to Swatches, and then I'm going to
01:10go to the Select menu at the top of the screen, and press All.
01:14That selects all of the Swatches here, and then I'm going to click the Delete
01:18button to delete them all.
01:20I'll click done to close the Preset Manager, and notice that the Swatches panel
01:25now has nothing in it.
01:27Now that we have an empty panel, we can start to build a brand-new custom Swatch.
01:32I'll go to the Toolbox, and make sure that the Eyedropper tool is selected and
01:37then I'm going to click on a color in an open image like this one.
01:40I'll click on the Blue and then I go to the bottom of the Swatches panel, and
01:44I'll click the Create New Swatch icon.
01:46That gives me a Blue Swatch.
01:50I can name that swatch by double- clicking it, and in the Color Swatch Name
01:55dialog I can give it a name.
01:56How about aqua? And say OK.
02:00I'll continue to populate the Swatches panel the same way, eye-dropping on a color,
02:06and clicking the Create New Swatch icon at the bottom of the Swatches palette.
02:10I'll double-click this Swatch, and give it a name.
02:14Sometimes, I like to give my Swatches RGB value names rather than color
02:18names because they're easier to find later by RGB value, if the client tells
02:23me a specific value.
02:25To do that, I'm going to look in my Color panel, and it's telling me that this
02:29particular green has an RGB value of 204, 204, 153.
02:35So, I can just type that in my Color Swatch Name dialog box.
02:39I'll type 'r204 g204 b153' and say OK.
02:52Let's get a few more colors in our Custom Swatches panel.
03:07Now that I'm done creating a custom swatch, I want to save it so that I can load
03:11it later, and share it with colleagues if I want.
03:14So, I'm going to go back to the Palette menu here, and I'm going to choose Save Swatches.
03:21It's important to save swatches in the same place with all the other swatches in
03:25Photoshop so that the custom swatch later appears in the Panel menu.
03:30Here in the Save dialog box, we can see where that location is.
03:35It's in Photoshop CS3, in the Presets folder, in the Color Swatches folder, and
03:41I'm going to save my new Swatches with the extension ACO.
03:45I call this my_javaco.aco and I'll click Save.
03:52Now if I go and look in the Panel menu, I don't see my_javaco.
04:00I see an old javaco that I saved previously, but not my_javaco, and the reason
04:05is that in order to get this menu to populate with my new swatch name, I have
04:11to restart Photoshop. So let's do that.
04:14I'm going to go to the Photoshop menu, or on a PC to the File menu, and Quit
04:18Photoshop, and then I'll restart Photoshop by clicking its icon in the Dock or
04:25in Windows Start menu.
04:28Now, if I go to the Swatches panel menu, sure enough, there is my_javaco.
04:33If I were to reset my Swatches here to the defaults and say OK, I can then, when
04:39I'm ready, go in and bring out my Custom Swatches by clicking the Panel menu
04:44again and coming down to my_javaco, and clicking OK.
04:49So, that completes our discussion of using the Swatches panel, and creating
04:52your own custom swatch.
Collapse this transcript
Recoloring images
00:00Now that we've learned about how layers work and how to choose colors in
00:04Photoshop CS3, let's put some of those skills to work.
00:08In this movie, I want to show you how you can quickly and easily recolor layered artwork.
00:13Let's say we decided we didn't like the color of the smoke curl and we wanted
00:17to change its color.
00:19Typically, a user might try to select the curl and then fill the selection,
00:24but selecting a soft edge graphic like this one would be quite difficult, and
00:28it's likely you would never really get a perfect selection.
00:31So instead, we're going to use a feature here at the top of the Layers palette
00:35to Lock down the transparent pixels, so that they are protected from color, and
00:41then fill only the pixels that have color.
00:43That includes those semi-transparent pixels along the edge of the smoke curl.
00:48Before we do that, let's take a look at what's on the Smoke Curl layer.
00:52I'm going to Option+Click on a Mac, or Alt+Click on a PC on the Eye icon to
00:57the left of the Smoke Curl layer, and that turns off everything except the smoke curl.
01:02So that you can see how really soft edge this is, and how difficult it would be to select.
01:08Now, I'm going to Option+Click again on the Smoke Curl Eye icon to turn the
01:11other layers back on.
01:12I'm going to select the Smoke Curl layer, and I'm going to go up to the Lock
01:17icon, and lock pixels.
01:20Now, I'm going to choose a color with which to fill the smoke.
01:24I'm going to click this purple in the Swatches panel, and that sets my
01:29foreground color to purple.
01:31To fill with a color, I can go to the Edit menu at the top of the screen, choose
01:35Fill, and in the Fill dialog box, I can choose to Use Foreground Color.
01:43I'll say OK, and notice that only the smoke curl has changed color.
01:48The rest of the Smoke Curl layer is protected from that fill.
01:52Let's try this with another part of this image, this Green layer here.
01:57I'm going to unlock the pixel lock and select the Green layer because I want you
02:02to see what happens if I were to fill this layer without that lock activated.
02:05I'll choose a blue color from the Swatches panel. That sets my foreground color to blue.
02:12This time, instead of going to the Edit Fill dialog box, I'm going to use a
02:16shortcut for filling with the foreground color and I suggest you to remember
02:19this shortcut, because it's one you'll use a lot.
02:23The shortcut is Option+Delete on a Mac, or Alt+Backspace on a PC.
02:29Because I did not use the Transparent Pixel Lock before I filled this layer, the
02:34entire layer is now filled with blue, and that isn't what I wanted.
02:38So, I'm going to undo by pressing Command+Z on my keyboard or Ctrl+Z on a
02:43PC, and try it again.
02:47With the Green layer selected, I'm going to go up to the Lock icon at the top of
02:50the Layers palette, and choose Lock Transparent Pixels.
02:54And again, I'll press Option+Delete, or Alt+Backspace on a PC, and that will fill
03:00only those pixels on the Green layer that already contained color.
03:04You could continue to go through this image, selecting layers, and filling them.
03:09I can even fill this Type layer here.
03:12We haven't talked about Type layers yet, but they are different than
03:15regular pixel based layers.
03:16Type layers are made up of vector-based editable type.
03:20With a Type layer, you can't select that Lock Pixel icon.
03:25However, you don't have to worry because on a Type layer, when you recolor in
03:29this manner, you'll fill only the areas of Type, and not the rest of the layer.
03:34To see what I mean, select a dark color, perhaps this dark gray,
03:39that becomes your foreground color, and then press Option+Delete, or
03:44Alt+Backspace on a PC to fill the Type with that foreground color.
03:49So, that's how easy it is to recolor layered elements in a file in
03:52Photoshop CS3.
Collapse this transcript
Copying color as HTML
00:00In this short movie, I want to show you a special feature in Photoshop for
00:04copying the hexadecimal code value of any color in a graphic, so that you can
00:09use in a website building program.
00:11If you're following along, you can open javaco_tea.psd from the Chapter_04
00:16Exercise Files folder or you can use any image of your choice.
00:21One way to unify the design of a web page is to take colors from the graphics on
00:25the page and use them to color HTML elements, like the page background, or HTML
00:32text, or, perhaps, Links.
00:35If you're a Web designer, you probably know that the colors of HTML elements
00:39like those are specified with a special numbering system called Hexadecimal Code.
00:45Photoshop has a feature that allows you to copy the hexadecimal value of
00:49any color in an image.
00:51Let's see how that works.
00:52I am simply going to go to the eyedropper tool in the Toolbox here, select it,
00:57and come into an open image, and I am going to hold down the Control key on a
01:01Mac, that's Right-click on a PC, as I click on a color, in this case, blue.
01:08And then I'm going to move down to Copy Color as HTML and release my mouse and
01:13then release my Control key.
01:15Now I am going to open a Text Editor, or you could do this in Dreamweaver, or
01:18anywhere where you've build your sites.
01:23This is just a blank page in TextEdit on a Mac.
01:26I am going to go to the Edit menu and choose Paste, or I could have just pressed
01:31the shortcut Command+V on a Mac or Ctrl+V on a PC.
01:36And when I do, I get the hexadecimal color for this blue pasted in this document.
01:42And now I can use that value in the page that I am building.
Collapse this transcript
Color management
00:00If you've ever looked at the same image on two computers and noticed that the
00:03colors in that image look different on the two computer screens, you've
00:08experienced the color management problem that all web designers face.
00:12If you were designing for print, then you could handle color management using ICC profiles.
00:18Print designers attach to an image an ICC profile that tells the output
00:24device for which the image is destined, the printer, about how colors were intended
00:30to appear when the image was designed on the computer.
00:33And the idea is that the printer would use this information to match the print
00:37it was making to the designer's screen.
00:40But when you're designing for the Web, you can't rely on ICC profiles.
00:44That's because almost all web browsers today are not color managed.
00:48They cannot read color profiles.
00:50And even for those few Web browsers that are color managed, there's a
00:54disincentive to attach ICC profiles to web images because it's likely that a
00:59profile will make an image bigger and therefore increase download time.
01:05So, what's the best solution when you're designing images for the Web in Photoshop?
01:09What you can do is simulate, in Photoshop,
01:13the way the colors will look in an image when the image is viewed in a web
01:17browser on a typical computer monitor, and a typical computer monitor today is a PC monitor.
01:24To do that, you want to use the sRGB color space to display your images.
01:31The sRGB color space is a relatively narrow range of colors as compared to
01:36broader color spaces like ProPhoto or Adobe RGB.
01:40But sRGB is the one to use when you're designing for the Web, because it most
01:45closely resembles the color characteristics of the average PC monitor.
01:50So here's the workflow to follow in Photoshop when you're trying to color manage
01:54an image for the Web.
01:55Before you open any images, set up your color settings.
01:59To do that, go to the Edit menu at the top of the screen and down to Color Settings.
02:06That opens the Color Settings dialog box.
02:09Here you don't really have to make any individual choices in these fields, all
02:14you have to do is choose this umbrella setting, North America General Purpose 2,
02:19and that controls all the important settings below.
02:22North America General Purpose 2 is the best choice in this dialog box if,
02:27like most of us, you use Photoshop to design some images for the Web and some for print.
02:32What this umbrella preset does is set up other settings below.
02:38The most important of those settings is this one, the RGB Working space, which
02:43is automatically sRGB when you choose North America General Purpose 2 setting.
02:50With my mouse over sRGB, I can read in the Description box at the bottom of this
02:54dialog box, what sRGB is.
02:58As we learned there, sRGB is a color space that reflects the characteristics of
03:02the average PC monitor, and that's what we're designing for.
03:06It's ideal for web work, but it's not recommended for other kinds of work,
03:09because it does have a limited range of colors that it will display.
03:13Now let's take a look at the Color Management Policies here.
03:16They tell us what will happen if we were to open a file that contains an
03:20embedded color profile other than sRGB.
03:23So for example, we may have a digital camera that embeds a color profile like
03:27Adobe RGB, or ProPhoto RGB, or someone else may have edited the photo and saved it
03:34embedding a profile.
03:35In that case, what will happen automatically, with these settings, is that the
03:40non-sRGB color profile will be preserved.
03:44Moreover, Photoshop will not say anything to us in that case.
03:48It won't ask us when opening a mismatched file like that or when pasting from a
03:53mismatched file, like that, to another file.
03:55So, that's how we set up our color settings and then we click OK.
04:00Now, if you're working along with me, open a file called apple_teapot.psd, which
04:06you'll find in the Chapter 04 Exercise Files folder.
04:10At the bottom of the Document Window, you see this document information area right here.
04:16Click the arrow to the right of that area and choose Show and then move over and
04:21choose Document Profile.
04:24That reveals the document profile that has been embedded in this particular image.
04:29As you can see, it bears a profile that is different than an sRGB profile.
04:35This image is tagged with a ProPhoto RGB profile.
04:38We know from our Color Settings that what happens, in this case, is that
04:42Photoshop honors this embedded profile.
04:44It doesn't try to change it.
04:46And it wouldn't say anything to us when we open this image.
04:49So now, I would go ahead and work on my image, changing anything I wanted to
04:53about it, preparing it for the Web and we'll learn how to prepare a photo for
04:57the Web in future movies.
04:59But assume we've done all that and now we're about to save this image for the
05:03Web, what we have to do is to convert it to a Web friendly format and compress
05:09it, so that it's smaller for the Web.
05:11We do all of that in the Save for Web window and we're going to learn lots more
05:15about using the Save for Web window in a later chapter too.
05:18But before we open the Save for Web window, it's good practice to convert images like this,
05:24ones that have embedded profiles other than sRGB into the sRGB Color Space, and
05:31here's how you do that.
05:32You'll go up to the Edit menu and go down to Convert to Profile.
05:39That opens this Convert to Profile dialog box, where you'll choose, in the
05:44Destination Space Profile field, sRGB.
05:48I am going to leave everything else at its defaults and I'm going to click OK.
05:54And that's all I have to do and then I continue on with my Web workflow, opening
05:58Save for Web and optimizing the image as we'll learn to do in future movies
06:03When we do take a look at the Save for Web window in other movies, we'll see
06:07that there's a new feature there that's intended to automatically convert
06:10images like this to sRGB.
06:14So, if you're optimizing images as JPEGs or GIFs, you probably can just rely on
06:18that automatic sRGB conversion.
06:21But the workflow that I have shown you here really is the safest and broadest workflow.
06:26It works in Photoshop CS2 as well as Photoshop CS3 and it works with JPEGs, GIFs and PNGs.
06:32That concludes our look at color basics in Photoshop CS3.
06:37In the next chapter, we'll be looking at the details of putting together a
06:41layered composition for the Web in Photoshop.
Collapse this transcript
5. Type Basics
Vector-based type
00:00When you're working on a Web page in an HTML editor, most of the text that
00:04you'll add to the page will be HTML code-based,
00:08but sometimes, you'll want to add some graphic text to a page.
00:12For example, you might have a couple of lines of large text, as you do here, in a
00:16headline on a page, or in a banner ad, or you may want to use a font that you
00:21are pretty sure your users won't have.
00:23In all those cases, you'll want to create graphic text in a program like
00:27Photoshop, and that's what we're going to look at in this chapter, how
00:30Photoshop handles Type.
00:32In this movie, we're going to learn about vector-based type in Photoshop.
00:37If you're following along with me, open flavor_of_the_month.psd from your
00:42Chapter 05 folder, in the Exercise Files.
00:45Let's take a look at the Layers panel here.
00:47You'll see that we have three layers, the bottom layer is just a background.
00:50It's the other two layers that are important to this exercise.
00:54The top layer, flavor of the month, is this white line of Type.
00:58Notice that there's a big T on this layer.
01:00This identifies the flavor of the month layer as a special Photoshop Type layer.
01:06In Photoshop, the special Type layers are vector-based.
01:10That means they are just composed of instructions to the computer, like put a
01:13point here and put another point there and create a curve between those two.
01:18The next layer down, dragonwell, which I'll turn on and off, so you can see what
01:22it contains, is not a special Type layer.
01:25It's just a layer of rasterized Type, which means Type that has been changed into pixels.
01:31So that is just like any other picture on any other layer.
01:34This layer, the Type layer, flavor of the month, because it is vector-based,
01:39can be resized or rotated or the content of the layer can be changed.
01:45It can be re-edited in any way without degrading the quality of the text,
01:50so no matter what you do to this layer, the text will remain clean and
01:54smooth at the edges.
01:56Let's try to resize the text on this layer and see how it looks.
01:59First, we have to select all the Type on the layer and one quick way to do that
02:03is simply to double-click the T on the flavor of the month layer.
02:08And you can see that all the text is highlighted here.
02:11If you take a look at the Toolbox, you'll see that the Horizontal Type tool is
02:15automatically selected.
02:16I am going to go up to the Options bar for this Horizontal Type took, and I am
02:21going to the Font Size menu right here, I'll click and hold and then I'll move
02:25down and choose, instead of the current 18 pt Type, 36 pt Type.
02:31You can see the Type get bigger there.
02:33It also went right off the screen, so I'm going to select the Move tool and I'm
02:37going to click and when I click with the Move tool, the highlight goes away and
02:42I'm just going to move that Type back onto the screen.
02:45If you look closely at this Type, you'll see that it still looks clean and
02:48smooth at the edges.
02:50Now, let's try to resize this Type layer, the rasterized Type layer, that is not
02:55vector-based and see what happens to it by comparison.
02:58First of all, if I go over to the Layers panel and I try to select the
03:02dragonwell text by double-clicking the icon there, I won't be able to do so.
03:06I'll show you what happens.
03:08If you double-click on this icon, on the dragonwell layer, you get a great big
03:11dialog box that has nothing to do with resizing text and we'll look at this
03:15dialog box in another movie.
03:17But I am going to cancel that and tell you that the only way to resize this text
03:21is to use the Transform commands.
03:24So with the dragonwell layer selected in the Layers panel, I'm going to go to
03:28the Edit menu at the top of the screen and I'll choose Free Transform.
03:34That puts this bounding box around the contents of the dragonwell layer.
03:37I am going to hold down my Shift key to constrain proportions and move my
03:42mouse over one of that diagonal anchor points here and drag to increase the size of that text.
03:50As I do, you can see it's already getting all fuzzy and blurry on the edges.
03:54Text has gone off the edge of the page, so I'm just going to click on it and
03:57drag it back on the page.
03:59And to accept this transformation, I need to go up to the Tool Options bar again
04:04and way over on the right, you'll see a great big checkmark. I'll click that
04:08and the transform is finished.
04:10Now, if you look at the Dragonwell text, you can see that it's quite fuzzy and
04:14it just doesn't look good.
04:15It's certainly not as crisp and clean at the edges as the flavor of the month text.
04:20So that illustrates the advantage of the fact that Photoshop has vector-based type.
04:25Use it as much as you can when you're working with text in Photoshop, and try
04:29not to rasterize your Type layers.
04:31There are couple of different kinds of Type in Photoshop.
04:34There is Character type for creating individual lines of text and there's
04:38Paragraph Type for creating larger paragraphs of text.
04:41In the next movie, we're going to do look at how to create Character Type.
Collapse this transcript
Creating character type
00:00In the last movie, I mentioned that there are two kinds of vector-based type in Photoshop.
00:05There is character type, which is used to create single lines of type, like this
00:09flavor of the month type layer here, and there is paragraph type, used to create
00:14multiple lines of type.
00:16In this movie, we'll look at working with character type.
00:20Let's start by deleting this existing layer of character type, so that we can re-create it.
00:24I'll drag that layer to the Trashcan at the bottom of the Layers panel.
00:28By the way, if you're working along with me, you can open
00:30flavor_of_the_month_02.psd.
00:33Now let's re-create that line of type by moving to the Toolbox and selecting the
00:38Horizontal Type tool.
00:39Then I'll go into the image and notice that my cursor has changed to a type cursor.
00:44I'll click in the image and I'll type Flavor of the month.
00:50I'm going to move that line of type into position by grabbing the Move tool in
00:53the Toolbox, and then I'll click- and-drag and move that line of type.
00:58Notice that pink Smart Guide on the right that helps me line up this layer with
01:03the layer called dragonwell.
01:05If this Smart Guide doesn't show up for you, then go up to the View menu and
01:11choose Show and then choose Smart Guides.
01:17Now let's look at some of the options that we have to change the appearance of
01:21character type in Photoshop.
01:23I'm going to select the Type tool again, and that changes the options in the Options bar.
01:27In order to affect this line of type, I need to highlight the line of type.
01:31One way to do that is to click- and-drag across the line of type.
01:36If you don't want to see the highlight the whole time, as I mentioned in the
01:38last movie, you can press Command+H on a Mac, or Ctrl+H on a PC.
01:43The text is still selected, but we don't have to look through that purple highlight.
01:48Let's go up to the Font field in the Options bar, click-and-hold and change to a different font.
01:53What's nice about this list is that you get a little sample of each font so you
01:57can see what it looks like.
01:59So, I'll choose Adobe Caslon Pro.
02:01You can choose whichever font you like.
02:03And now I'll move over to the Style field and click there.
02:06Here, I see all the styles that come with Adobe Caslon Pro.
02:11Now all fonts have the same styles available.
02:14So, for example, if I were to change back to the Arial font here in the Font
02:18menu, take a look at the styles that are now available, and you'll see that
02:23they're slightly different than the styles available with Adobe Caslon Pro.
02:28We can also change the font size from this menu.
02:32So I'll click and I'll choose 24 point instead of 18 point.
02:36Now I have move the type over.
02:38When I do that, by clicking on the Move tool, I am actually deselecting the text.
02:44I'll have to select it again to make further changes.
02:46So this time, let's select all the text by double-clicking the T on the text layer.
02:51It's just an alternative way to highlight text on a layer, again, Command+H or
02:56Ctrl+H to hide that highlight.
03:00Now I want to talk about Anti-aliasing here.
03:03Right now, it's set to Smooth, and that makes my type look nice and smooth.
03:06I'm going to zoom in with the Zoom tool, selecting the Zoom tool in the
03:10Toolbox and clicking-and-dragging around some text here in the document
03:15window, to show you that Anti- aliasing gives us some semitransparent pixels
03:20around the edge of the text.
03:21That's what makes the text look smooth.
03:24It's an optical illusion, really.
03:26Let's go back to 100% view by double-clicking the Zoom tool.
03:29Now I am going to select the Type tool again and change the Anti-aliasing to None.
03:35Notice in the document window, when I let go the mouse, how much different the text looks.
03:41If I got my Zoom tool and zoomed in on the text now, you would see that there
03:45aren't any semitransparent pixels, because now, the text is not anti-aliased.
03:50This is actually called aliased text.
03:53Double-clicking the Zoom tool again to go back to 100% view, and selecting the
03:57Horizontal Type tool again, I'm going to go back in and change back to Smooth,
04:01because it looks a lot better on this text.
04:04If you're wondering when you might use None, the answer is if you had some text
04:09that was smaller than 14 point, in that case, text sometimes looks better when
04:13it is aliased rather than anti-aliased.
04:15But when we text larger than 14 point, I like to use Smooth.
04:20You can also change the color of an entire line of type or just of one letter or
04:26one word in a line of type.
04:28To do that with the Type tool selected in the Toolbox, I am going to come in
04:31and click-and-drag over the word, 'Flavor', and then I'm going to click the Color
04:36field in the Options bar.
04:39That opens the color picker, where I could choose a color here, by moving the
04:43slider, and just choosing a color that I like, to recolor the word Flavor.
04:48Let's get it a little bit greener, perhaps, there we go. And I'll click OK.
04:57I'm going to press Command+H on a Mac, or Ctrl+H on a PC so we can hide the
05:03highlight there and see the color that we've chosen.
05:06In addition to the options for character type that you see in the Tool Options
05:10bar now, there are more options that we can see in the Character palette.
05:14To open the Character palette, you click this icon in the Tool Options bar.
05:19There is the Character palette, and some of the fields here are redundant of
05:23what we saw with the Type tool options.
05:26For example, we have a font size here and we have a font style up here,
05:32but there are some new options too.
05:34So, for example, we have a tracking option right here that we can use to
05:38increase the space between letters in a line of type.
05:40So, I'm going to come in and select this line of type again by
05:44clicking-and-dragging over it, and then pressing Command+H, or Ctrl+H on a PC to
05:49hide that highlight.
05:51Then if I come to the tracking field and move my mouse over the tracking label
05:55here, when my cursor changes to a double-pointed arrow with a finger, I'm going
06:00to click-and-drag to the right.
06:03That increases the space between the letters.
06:05And if I drag back to the left, I decrease the space between letters.
06:11Then we have some buttons down here that are useful.
06:13If you are using a font that doesn't have, for example, an italic style, you can
06:17click on this faux Italic button and the text looks like it's in italic style.
06:23I'll unclick that again and you can check out these other buttons on your own,
06:27buttons that give you all caps or underlines or strikethroughs, et cetera.
06:31So, those are all the options that you have when you're working with character
06:34type in Photoshop CS3.
06:36In the next movie, we're going to be taking a look at working with
06:39paragraph type.
Collapse this transcript
Creating paragraph type
00:00In the last movie, we talked about using character type.
00:04In this movie, let's take a look at paragraph type, which is also editable
00:08vector-based type in Photoshop.
00:11If you're following along, open javaco_about.psd.
00:14You'll see that there are two type layers here.
00:18This type layer, Javaco Coffee & Tea, is character text.
00:22It was created by typing the first line, hitting Return and then typing
00:26the second green line.
00:28This bit of text is paragraph text.
00:32It was created by just typing here, and the text automatically wrapped from line
00:36to line without having to hit Enter or Return.
00:39Let's see how to make paragraph text, but before we do, I want to mention that
00:43when you're making large paragraphs of text like this, you're probably going
00:47to be creating HTML text in an HTML editor, rather than graphical text in Photoshop.
00:53However, it does make sense to use the paragraph type feature in Photoshop to
00:59add some placeholder text like that that we see here to some early designs of a webpage.
01:05So, let's recreate this paragraph text in Photoshop.
01:09I'm going to click on the lorem ipsum layer in the Layers panel and drag it to
01:13the Trash at the bottom of the Layers panel.
01:16Now I'm going to go to the Toolbox and make sure that I have the Horizontal
01:20Type tool selected.
01:22Then I'll go into the document and instead of just clicking and typing, I'm
01:25going to click-and-drag and create a bounding box.
01:30Now I could just come in here and type.
01:35Notice that as I am typing, the text is wrapping around.
01:39I'm going to undo that, Command+Z on a Mac or Ctrl+Z on a PC, because I want to
01:43show you another way to get text into this bounding box.
01:46Go back to your Chapter 5 Files folder and open a file called lorem_ipsum.txt,
01:54or if you prefer, a Word document lorem_ipsum.doc.
01:57I have this file opened in TextEdit on a Mac, any text editor will do though.
02:04I'm going to just click-and-drag across all the text, and then I'm going to
02:08press Command+C on a Mac, or Ctrl+C on a PC to copy the selected text.
02:14Then I'll close this file and click back on the Title bar of the Photoshop
02:19document to return to Photoshop.
02:22See that my cursor is still clicking in the bounding box.
02:26So, when I press Command+V on a Mac, or Ctrl+V on a PC to paste in the copied
02:32text, it goes right into the paragraph text bounding box.
02:37Take a look at the bottom-right of the bounding box and you'll see that there is
02:39a square with a checkerboard inside.
02:42That means that you've put more text in the box than can currently fit.
02:46It tells you that you should expand the box to see all of the text.
02:50You can click on any of the anchor points here and expand the box in any direction.
02:54So, I could go widthwise, I could go lengthwise, or I could go both ways.
03:01As I change the dimensions of this box, the text rewraps.
03:08You can change anything about the text in this box, just like you could
03:12with character text.
03:13So, for example, if I wanted to change the color of a couple of words here, I
03:18could click-and-drag over those words and I could go up to the Type Options
03:22bar, click in the Color field and select a different color here, maybe a green, and say OK.
03:30Then click off and I'll see that those words have changed color.
03:34I can affect this type with other options in the Character and
03:37Paragraph palettes.
03:39To open those palettes, I'll click this icon on the right side of the
03:43Options bar, and here I see the same options we looked at in the last movie
03:47in the Character panel.
03:49I can apply these options to paragraph text as well as to character text.
03:53So, for example, if I came into this bounding box and clicked-and-dragged across
03:57all the text to highlight all of it, I could then go to the Character panel and
04:02I could change the leading, or the space between lines, in this field, by clicking
04:07the arrow and choosing, instead of 12 point, we'll try 18 point.
04:11Notice that the text expands here, and now I have that marker indicating that I
04:16have too much text for this size bounding box.
04:19So, I will click-and-drag the bounding box to make it longer to include all the text.
04:24And then I'll click off.
04:26There are more options in the Paragraph panel.
04:29I'll click on its tab and you can see here that we can affect alignment,
04:36as well as indenting, the space between paragraphs, and hyphenation.
04:41When we're all done creating our paragraph text, we go up to the Tool Options
04:46bar and click this big checkmark.
04:49That commits all our changes.
04:51That's how you create paragraph text and work with it in Photoshop CS3.
Collapse this transcript
6. Creating a Web Graphic from Scratch
Storyboarding
00:00Now that we have the basics of using Photoshop under our belts, we're going to
00:04start the process of creating some graphic assets for a webpage.
00:08I'll show you some neat tricks, like how to combine images using layer masks
00:12and blending modes.
00:13But before you create any assets for a webpage, it's wise to plan out your page.
00:18We call it storyboarding.
00:20I'd like to show you in this movie how you can storyboard in Photoshop.
00:23If you're working along with me, open IE_PC_1024x768.psd, in the Chapter 6
00:31Exercise Files folder.
00:32This file is a screenshot of the Internet Explorer browser opened on a PC, whose
00:38screen resolution is set to 1024x768.
00:42We made this screenshot to simulate the size of a web browser that a typical
00:46user might be using today.
00:48Using this image as a background, we'll be able to lay out some elements and get
00:52them to approximately the right size, so that we can estimate how big to make
00:56them when we design the graphics.
00:58I suggest you keep a copy of this file and use it when you're designing your own pages.
01:02To start the storyboarding process, I'm going to go to the Toolbox and I'm going
01:06to select this tool, which is the Rectangle tool.
01:10The Rectangle tool is a vector-based shape tool.
01:13I'm going to make sure that I have a dark color here in the foreground color
01:16box, and then I'm going to come in and start dragging out some boxes to
01:20represent various items that I might put on this page.
01:22So, let's say I know that I'm going to include a photograph on the page,
01:26perhaps, I'll come in about here and drag out of rectangle.
01:30This doesn't have to be exact, because I'm able to change it at will, as you'll
01:33see in just a moment.
01:35Notice that that rectangle has come in to the Layers panel on its own layer.
01:39That's a property of the Shape tools, and that makes it really easy to
01:42storyboard, because you can put individual elements on separate layers, and
01:45then move them around without affecting the content of the other layers of your storyboard.
01:50Now, let's say I want to add, perhaps, a coupon for some free tea on this page.
01:54I want it to be about here and maybe about this size.
01:57So I'll draw another rectangle and that comes in on its own layer.
02:01You can name these layers, so I might call that first layer 'photo' by
02:04double-clicking the Name field and typing in 'photo', and then clicking off it.
02:10I'll double-click this Name field on the coupon layer and type 'coupon'.
02:16Now I want to sketch in some navigation.
02:18So I'll come up to this area and I'll drag out something that looks like a button.
02:23We'll want more than one button on this page,
02:26so I'm just going to duplicate the button that I've drawn by selecting the
02:29Move tool, holding the Option key on a Mac, or the Alt key on a PC, and
02:34dragging on that button.
02:35I have the Smart Guides that show up, these pink lines, to help me line up one
02:39button to the other.
02:41We learned about Smart Guides in an earlier chapter.
02:45So I'll do that three more times and now I have four blocks that represent buttons.
02:49Another nice thing is that you can change the shape of any of your
02:52storyboard elements.
02:54So, for example, let's say that I think that maybe I'm going to want a
02:57portrait-oriented photo rather than a landscape-oriented photo.
03:01I'll go to the Toolbox and I'll click on the black arrow and hold and from the
03:06flyout menu, I'm going to choose the Direct Selection tool.
03:10Then I'm going to come in and click just on the edge of this block
03:13that represents a photo.
03:16I see white anchor points at the sides, meaning that I've now made the shape of
03:21this photo editable.
03:22To change the shape, I'm going to hold down the Shift key to
03:25constrain proportions.
03:26I'm going to click on his top edge and drag up.
03:31I'll make this a portrait-oriented photo.
03:34I can also click on the right edge, holding the Shift key to constrain
03:37proportions, and dragging to the left.
03:41So that's basically how you can quickly storyboard a site in Photoshop.
03:45I can also block in some text here, using a feature that we learned about in the
03:49last chapter, paragraph type.
03:51To do that, I'll go and get the Horizontal Type tool in the Toolbox.
03:55I'm going to come in and just drag out a bounding box and I'll start
04:00typing some dummy text.
04:03The text wraps as I type, because that's a feature of paragraph type.
04:08I notice that I have this little square at the bottom-right with a cross in it,
04:11meaning there is more text here than we can currently see.
04:13So if I pull this down, I can see that extra text, or I can pull it up, or I can
04:18change the shape of the bounding box this way. This is all very flexible and
04:23helps me to block out elements on this page.
04:26I'm going to go up to the Tool Options bar for the Horizontal Type tool and just
04:30accept the changes that I made to that type.
04:32So that's how you can use Photoshop's Shape tools and paragraph type to
04:36storyboard a webpage.
04:38In the next movie, we're going to start creating some graphic assets.
04:41I'm going to show you how to use the File>New dialog box in Photoshop.
Collapse this transcript
Setting resolution, color mode, and bit depth
00:00In this movie, we're going to begin building a graphic asset to put on one of our webpages.
00:05We'll be making a coupon for some free tea that will appear on the homepage of
00:09the Javaco site that we're making.
00:10We'll start the process by going up to the File menu at the top of the
00:13screen and choosing New.
00:15This is how you create a new file from scratch in Photoshop.
00:19I'm going to name the new file 'coupon', and I don't have to add a suffix because
00:24that will be added when we first save the file in a particular format.
00:28Now I'll go down to the Width and Height fields and I want to make sure that the
00:31units of measurement here are set to pixels, because we're designing for a
00:36screen, not for print.
00:37If the unit of measurement in your dialog box is set to inches, like this, be
00:41sure to come over here and choose pixels instead.
00:44Now, I want to type in a particular width and height.
00:47Because I went through the process of storyboarding, which I showed you in the
00:50last movie, I know approximately how big I want this coupon to be.
00:54I'd like it to be about 250 pixels wide by 160 pixels tall.
00:58But I'm actually going to make a file that's a lot bigger than that, but is of
01:02those same proportions.
01:03That's because I always want to make my files as big as I might use them for
01:07any purpose, because you can always make images smaller, but you don't want to
01:11make them very much bigger, if you change your mind about what you're going to use them for.
01:14So, for example, here, maybe I want to have some print coupons that look exactly
01:19like the coupon we're making for the web.
01:20So I'm going to make this file much bigger than it needs to be for the web and
01:24later I will resize it down for my website.
01:27So, I'm going to use the same proportions as 250x160.
01:32I did a little math and I found out that that comes to about 1000 pixels wide
01:36by 630 pixels tall.
01:41Now we come to the Resolution field.
01:43If you remember anything from this movie, it's this.
01:46It makes absolutely no difference what number is in this field when you're
01:49designing an image for the web.
01:51As long as you have set the units of measurement to pixels and you've typed
01:55in some numbers in the Width and Height field, you have set the size of the
01:58image you're creating.
02:00It makes absolutely no difference what's in the Resolution field because
02:03resolution is only relevant when you're creating an image in inches, in other
02:08words, when you're creating an image for print.
02:10Resolution, in this particular field, in Photoshop's new dialog box, simply means
02:15how many pixels in the file will be assigned to every printed inch.
02:18You may have heard that you need to set resolution to 72, but in this particular
02:23dialog box, it makes no difference.
02:24To prove it, look at this.
02:26If you come over to the Image Size over here on the right, which now says,
02:291.8 Megabytes, the Image Size is the amount of space that a file will take up on a disk.
02:35Image size is a function of the Width and the Height in inches and the
02:40resolution when you're designing in inches.
02:41But when you're designing in pixels, it really makes no difference what's in
02:44the Resolution field.
02:46You can see, for example, if I type 72 in here, the Image Size does not change.
02:51It's always the same.
02:52It's always a set number of pixels.
02:55So I'll put this back to 300.
02:56It doesn't matter what's in there.
02:58Now let's go to the Color mode field.
03:00Color mode is basically a color model.
03:03When you're designing for the web, you should always set Color mode to RGB Color.
03:08Don't choose CMYK Color, because web browsers can't view CMYK images.
03:13Same goes for Grayscale and all these other choices.
03:16So we'll choose RGB Color, and by the way, this is true even if you're creating
03:20a file that's going to look black-and-white.
03:22Now we'll move over to the Bit Depth field.
03:25When you're designing for the web, Bit Depth, which is the amount of color
03:28information in each pixel, should always be set to 8 bit, because only 8 bit
03:33files can be displayed in a web browser today.
03:36Now let's go down to the Background Contents region.
03:38We can set this to White, to Background Color, which is whatever color happens
03:42to be here in the background color box in the Toolbox or Transparent.
03:46I'll choose Transparent.
03:47It doesn't really matter what you choose because you can always change the color
03:51of the background layer later.
03:53And finally, I have the Advanced area opened up.
03:55If your Advanced area looks like this, then click the arrow to the left of it
03:59and just check that Color Profile is set to sRGB.
04:02sRGB is the color space that represents the way the typical PC monitor
04:07displays color today, and as we learned back in the Color chapter, in the
04:11movie on color management, that's the best color space to use when you're
04:14designing for the web.
04:16So now I'm going to click OK and the file opens, ready to be worked on in Photoshop.
04:21Let's go up to the File menu and save this file.
04:23Notice that Save is grayed out, because this file has never been saved.
04:27So we'll choose Save As.
04:30We want to save this file in the chapter06 folder, so you want to navigate there.
04:35I'm going to save it as coupon in the Photoshop format.
04:39I prefer to work in the Photoshop format when I am building files because then
04:43we have all our layers and all our proprietary Photoshop features saved with the source file.
04:48Later, at the end of the workflow, we'll optimize a copy of the file in a
04:52web-friendly format like JPEG or GIF, as you'll learn in later movies.
04:56I'm going to leave layers checked and I'm going to leave Embed Color Profile
05:00checked and I'll click Save.
05:03In the next movie, we'll add some images to our new file.
Collapse this transcript
Combining images of different sizes
00:00In this movie, we're going to be starting to build the coupon that we'll be
00:04putting on the homepage of our website.
00:07We're going to cover how to bring a large image into a smaller image, something
00:11that happens all the time.
00:12I'm going to show you the most efficient way of dealing with that situation.
00:16If you worked through the last movie with me, you can use the file that you
00:19created there, coupon.psd, or you can just open a fresh copy of coupon.psd from
00:25the chapter06 Exercise Files folder.
00:28The first thing I want to do is to fill that background layer with black.
00:32So I'm going to go over to my Toolbox and I see I don't have black there as
00:35my foreground color.
00:36If you're in the same situation, just press D, for default, on your keyboard and
00:42that sets the foreground color to black.
00:44In an earlier movie, we learned a shortcut for filling with the foreground
00:47color, that is to press Option+Delete on a Mac, or Alt+Backspace on a PC.
00:54So Option+Delete, Alt+Backspace fills with the foreground color.
01:00I'm going to give this layer a name.
01:02I'll double-click the layer 1 generic name and type in 'bg' for background and click off.
01:08Now, let's go to the chapter06 folder and open another image, one called fern.psd.
01:16fern.psd looks like it's small enough to go into coupon.psd on my screen at
01:21least, but actually, that may not be true.
01:23Don't make the mistake of comparing two images that are open in Photoshop when
01:27those images are set to different zoom views.
01:30So for example, fern.psd is showing at 33% of its actual size, but coupon.psd is
01:37open at 66.7% of its actual size.
01:40So we can't assume that fern.psd is really smaller than coupon.psd, but I don't
01:45suggest that you spend time trying to resize files to match one another.
01:50Just go ahead and drag one into the other and then I'm going to show you the
01:53most efficient way of changing the size of the file that comes in, to make it
01:57match the receiving image.
01:59So to do that, go to the Toolbox and select the Move tool.
02:03Then click inside fern.psd and then press down on the Shift key.
02:09The Shift key constrains fern.psd, so that it will land directly in the
02:13middle of coupon.psd.
02:15Now click-and-drag, and as soon as you see that gray bounding box inside of
02:19coupon.psd here, you can release your mouse and then release the Shift key.
02:25So as you can see, we can't see the whole fern in coupon.psd because it turns
02:29out that fern.psd really was bigger than coupon.psd.
02:34Let's actually close fern.psd because we don't need it anymore.
02:37But you can see that the whole -- there is a larger part of the fern showing in
02:41fern.psd than is showing in coupon.psd.
02:47Before I do anything with this layer, I'd like you to get in the habit of
02:50naming your layers.
02:51So let's go over to Layers palette and let's double-click the default name, layer
02:551, and let's call this 'fern'.
02:59Now the task is to change the size of the fern layer.
03:03So with the fern layer selected in the Layers panel, I'm going up to the Edit
03:07menu and down to Free Transform, or you can use the keyboard shortcut, Command+T
03:14on a Mac, or Ctrl+T on a PC.
03:17Normally, when you invoke the Transform command as we just did, you see
03:22little anchor points at the corners and you can click-and-drag those to make an image smaller.
03:26But we don't see these in this case, because fern.psd is much bigger than the
03:31boundary of the document window that we're looking at. So what can we do?
03:35Here is a great shortcut to remember.
03:37On the Mac, press Command+0, on the PC that's Ctrl+0. What happens is that
03:45Photoshop makes the area around the document visible,
03:49that's this gray area here which is called the canva,s and it makes it just the
03:53right size so that we can see the actual boundaries of fern.psd, indicated by
03:58this line and these anchor points.
04:00So now I can grab one of those corner anchor points.
04:03I'll get the one at the bottom-right and I'll hold the Shift key to constrain
04:07the proportions and drag.
04:09That starts resizing the fern image, making it smaller as I drag in.
04:16Now I'm going to grab the upper-left anchor point and drag diagonally in, and I
04:24see I can come in a little more on the bottom. There we go.
04:28Now the height of fern.psd is the same as the height of the receiving image, the
04:32one with the black background.
04:34Now I want to push fern.psd over because I would like to have the fern starting
04:39at the corner of the image.
04:40So I just click inside and push to the left.
04:45Now I'm going to click the big checkmark in the Tool Options bar, which is what
04:48you always need to do when you do a Transform command.
04:51It commits the transform.
04:53Now I want to take care of this problem that fern.psd is now not wide enough to
04:58fill the entire receiving image,
05:00so we see the black background on the layer below.
05:02So here is what I'm going to do.
05:04I'm going to go to the Toolbox and I'm going to select the Rectangular Marquee tool.
05:10This is a Selection tool.
05:11I'm going to use this tool to click-and- drag out a rectangular selection just on
05:16the edge of the fern image.
05:19Then I'm going to transform just that selected area, stretching that small area
05:24out to the right to fill the rest of the image.
05:26I'll go to Edit and down to Free Transform again, or Command+T, or Ctrl+T and then
05:34I'm going to click on the right-hand anchor point here and just drag to the
05:37right to stretch out that selected area of fern.psd and I'll click the checkmark
05:43to accept that transform.
05:45Finally, to delete these marching ants that indicate the boundary of the
05:48selection, I'm going to the Select menu and choose Deselect, or Command+D, or
05:53Ctrl+D on your keyboard.
05:56Now what I just did works great with an image like this where you have a very
06:00plain area that you're stretching.
06:01It doesn't work as well when you have a lot of detail in an area, because as you
06:05can imagine, you would see the stretched out detail here.
06:07It's kind of interesting effect, but it's not exactly what we're going for here.
06:11But that's what you can use to resize one image to fit another after you bring
06:15the two images together.
06:17We'll continue building this asset and learning techniques for combining
06:20images in the next movies.
Collapse this transcript
Combining images using Layer Masks
00:00This is a movie you shouldn't skip.
00:02I'm going to show you a technique that's one of the most popular ones that I
00:05teach, and that is how to combine two images using a layer mask with a gradient.
00:11To prepare for this movie, I closed all the other panels except for the Layers
00:14panel, so you really could get a good view of the layers and I set the image in
00:19its document window to 50% view and resized the document window so that there
00:24isn't any gray canvas showing around it.
00:27Let's get started combining images by opening a couple of images from our
00:31chapter06 file folder.
00:33I've opened coupon_02.psd, or if you were following along with me you can just
00:38use the image that you finished in the last movie, and let's open one more image
00:42from chapter06 and that's bamboo.psd.
00:45We're going to move bamboo into coupon. Just like in the last movie, we'll get the Move tool.
00:52We'll click in the bamboo image, hold the Shift key, drag the bamboo image
00:57into the coupon image.
00:59When you see that gray bounding box, you can release your mouse and then
01:02release the Shift key.
01:04Now, we can click back on the bamboo image and close it.
01:07We're done with it.
01:09Look in the Layers panel for the coupon image and you can see that we now have
01:13three layers: bamboo at the top, then fern, then the background layer.
01:18If bamboo is not at the top, just click on that layer and drag it to the top of
01:21the Layer stack and release when you see a dark line at the top of the stack.
01:26The problem with putting the bamboo image above the fern image is that you can't
01:30see the fern anymore in the document window.
01:33Let me turn bamboo off for a second to remind you that there is a fern down
01:37there in the bottom-left corner of the fern layer.
01:39So what we're going to do is make part of the bamboo layer transparent so that
01:44we can see down to the fern, just in the bottom-left corner on the layer below,
01:48while retaining most of the bamboo image in the document window.
01:52Let's see how we can do that.
01:53Now, some people might think, "Well, you come in with the Eraser tool and you
01:56start erasing part of the bamboo."
01:58I think that's a bad idea, because that is a destructive method of editing.
02:02Once you've erased part of a layer, you can't counter always being able to get it back.
02:06So instead, I recommend that you use a layer mask for this purpose.
02:10To add a layer mask to the bamboo layer, select the bamboo layer and then go to
02:15this icon at the bottom of the Layers panel, it looks like a square with a
02:18circle in it, and click.
02:20That adds a white layer mask to the bamboo layer.
02:23When the mask comes in white, it's really not doing anything at all.
02:27It's only when we add black or gray paint to the layer mask that it will hide
02:31parts of the bamboo image, letting us see down to the fern below.
02:36I could just get the Brush tool and start painting with black on this layer
02:39mask, but as you can imagine, that's going to get me some pretty rough edges and
02:43I won't get a lovely, soft, gradual combination of the bamboo image with the fern.
02:49So instead, I'm going to use a gradient.
02:51I'm going to go to the Gradient tool in the Toolbox and select it.
02:58I'll look up at the gradient in the Tool Options bar.
03:00In my case, I have a gradient from black to white.
03:03Yours may not look this way.
03:05So just to ensure that you have a black to white gradient, click in the middle
03:08of that Gradient bar.
03:10That opens the Gradient Editor, and the very first preset should give you a
03:14black to white gradient.
03:16So you can click that and say OK.
03:18Now, we're going to go back to the Tool Options bar and look at the various
03:22styles of gradients.
03:23By default, the Linear Gradient is selected.
03:26In this case, I'm going to click on the next icon to make a Radial Gradient.
03:30Then I'm just going to double-check that I have the layer mask selected on the bamboo layer.
03:36If your bamboo layer looks like this instead, with the highlight around the
03:40image thumbnail, you're not going to get the result that you want.
03:43Instead, make sure that there's a highlight around the layer mask on the bamboo layer.
03:49Now, come into the image and click from the bottom-left corner and drag toward
03:54the center of the image.
03:55Are you ready for the magic? There it is.
03:58When you let go, you can start to see the fern peeking through.
04:02Here's what's happening.
04:03Where the layer mask is black, the bamboo layer is being hidden, where the layer
04:08mask is gray, we're partially seeing through the bamboo layer, and where the
04:13layer mask on the bamboo layer is white, over here, we can't see at all through
04:17the bamboo layer to the layer below.
04:19Now if you don't like the result that you've gotten, I think I'd like to see a
04:23little bit more of this fern, I can just repeat and do that as many times as I
04:26want, clicking at the bottom- left and dragging toward the center.
04:30The longer I make this line, the larger the black part of the layer mask will
04:34be, and we'll see more of the image below.
04:37Now if you still want to see even more of the fern, you can click the
04:41Paintbrush, go to the Tool Options bar and click in the Brush Picker, make sure
04:47you have a very soft brush.
04:49It should be over to the left of the Hardness slider.
04:51I'd like to choose a relatively large brush, about 50 would do maybe here, and
04:56then we'll click back in the Options bar to close that picker and we'll come in
05:00and we'll just paint over parts of this fern.
05:02And what's happening is because we're painting with black, we're getting to see
05:06more and more of the fern.
05:07Again, I'm painting with black on the layer mask.
05:10I'm not painting with black directly on the image.
05:12Wherever I paint with black, I hide parts of the bamboo layer, so I can
05:18see below to the fern.
05:19I'm going to Option+Click on the layer mask,
05:23that's Alt+Click on a PC, just to show you what we have, because we can actually
05:26see the layer mask here in the document window when we do that.
05:29And you can see the gradual mask and then you can also see where I painted with
05:33black to bring in the fern a little bit more.
05:36I'll Option+Click again on the layer mask to hide it.
05:42That's basically how you use layer masks and gradients to gradually combine two images.
05:47We've combined the bamboo on the top layer, and I'll turn off, with the fern
05:52on the layer below. Pretty nice!
05:56Please stay tuned for the next movies in which we'll learn more techniques
05:59for combining images.
Collapse this transcript
Combining images using Blend Modes and Opacity
00:00In this movie, we are going to look at two more popular techniques
00:03for compositing images.
00:05We'll look at Layer Blend modes and Layer Opacity.
00:08You can open a fresh copy of Coupon_03.psd from the Chapter 06 files folder and also open
00:14another file called waterfall.psd, from that file folder.
00:19If you have been following along, you can use the Coupon image that you finished
00:23with at the end of the last movie about Layer Masks, if you prefer.
00:27Let's take a look at how big these two files are as compared one to the other.
00:31One way to do that is to go to the bottom of the Document Window, here at the
00:35bottom of the waterfall.psd window, and click the Arrow there and choose Show
00:40and then Document Dimensions.
00:42If you can see all the way at the bottom of your screen, it tells us this file
00:45is 1500 x 1125 pixels.
00:48Let's do the same thing in the Coupon image.
00:51I have clicked on the image to make active.
00:54I am going to the arrow, at the bottom of the document window, choosing Show and
00:58choosing Document Dimensions.
01:00You can see that the Coupon image is smaller than the waterfall image.
01:03It's only 1000 x 630 pixels.
01:06So we are going to bring waterfall into Coupon, we have a little room to play with here.
01:11I really don't want to have the trees up here, in my composite.
01:15So what I'm going to do is make a selection in waterfall.psd and bring in
01:20just the selected portion of that file and that's the new take home point from this movie.
01:26To make a selection in waterfall.psd, I am going to the Toolbox and I'm going to
01:30select the Rectangular Marquee tool.
01:34And then, I'm going to come into waterfall.psd and I'm going to click from
01:38the right-side over here, and go all the way across and I am going to make a selection there.
01:46I can move the selection around, using the same tool, by just clicking and
01:49dragging in the center of the selection.
01:51So the area within these marching ants is what we're going to be moving into the Coupon image.
01:57To move this selection, we go to the Toolbox and we get the Move tool.
02:02With the Move tool, we can just come in and click and drag from the waterfall
02:06image into the Coupon image and when we see this gray bounding box, release the mouse.
02:12I'm not going to bother holding the Shift key this time, although you could
02:15do that if you wanted this election to land directly in the middle of the Coupon image.
02:20Now let's go and make the waterfall image active and we can close that, we
02:23don't need it any more.
02:25Back in the Coupon image, notice that there's now a new layer.
02:29Let's give that a name by double- clicking the default name and calling it
02:32'waterfall' and clicking Off.
02:36The new layer, waterfall, is completely obscuring the content below,
02:40the bamboo and the fern that we, so nicely, put together using a layer Mask.
02:45So what can we do so that we can see through waterfall?
02:47I would like to use it more as a texture than as the main part of the image.
02:52So here's what we are going to do.
02:53With waterfall selected, we are going to go to the Blend mode menu at the top of
02:57the Layers palette, and take a look at what's available there.
03:00These are all different algorithms for combining the colors in the selected
03:04layer, here the waterfall layer, with the colors in the layers below.
03:08There are lots to try out here, and one way to think about them, rather than
03:11try to memorize exactly what each one does is to just think of them in groups.
03:15So for example, this group beneath this line here, all result in a darker
03:20composite and this group results in lighter composites.
03:25And if you choose a Layer Blend mode from this group, you end up with some parts
03:29of your resulting image light and some dark, and so on through this menu.
03:34But to be honest, I hardly ever come in here and try to make a rational
03:37choice from the menu.
03:38Instead, I do this. I close the menu.
03:41I make sure my Move tool is selected and here, with the waterfall layer
03:46selected, I'm going to press on my keyboard, over and over, Shift and the Plus sign.
03:51Keep your eye on the Layer Blend menu up here and you'll see that every time I
03:55press that shortcut, the Layer Blend changes.
03:59That's the dissolve mode and we really don't see much difference here, in the
04:03document with dissolve.
04:04But if I choose darkened, I do see quite a difference in the document as the
04:08pixels in the waterfall layer are combined with the pixels on the bamboo layer
04:12and fern layer below. Multiply.
04:16That's one we use a lot. Although, in this case, the result is pretty dark, and so on.
04:21You can see some of these effects are pretty unusual.
04:29And I just go through the whole menu and when I finally see one that I like,
04:32overlay isn't too bad, although it's not really what I was looking for, soft
04:36light, better, hard light, that's pretty wacky and so on.
04:43If you want to go back the other way in the menu, you press Shift and the Minus key.
04:47I am going to keep going until I get back up to a darker color.
04:52I want to talk about this one, because it's one of two new layer blending
04:55modes in Photoshop CS3.
04:58There's darker color and there's lighter color.
05:00Darker color compares each pixel in the selected layer with the corresponding
05:05pixel below it in the layers below, and it gives you the darker of the two.
05:10I think in this case, this is going to do for us, but there's more that we need
05:14to do to the waterfall layer to make this blend mode really look the way that we
05:18want it, and that is to vary the opacity of the waterfall layer.
05:22We are going to make the waterfall layer more see through.
05:25To do that, we are going to go up to Opacity at the top of the Layers palette
05:29and I am going to move my mouse over the word Opacity, the cursor changes to a
05:33double pointed arrow and I am just going to click-and-drag to the left
05:36lowering the Opacity.
05:38And you can see the results in the Document Window.
05:41We are starting to get to the point where the waterfall is just looking like a
05:45texture, and I might stop somewhere around there.
05:50Now, I can come into the image and with the Move tool, I am going to drag around
05:54until I see just the part of the image that I think looks best here,
05:58I am thinking something like that is pretty good, because you remember that the
06:02waterfall image is larger than the Bamboo image, so we have a little bit of room
06:05to play here and to move waterfall around until, we get the part that we like.
06:10Before we're done with this movie, I just want to tell you about another way to vary Opacity.
06:14As long as you have the Move tool selected, you can just type a number on your keyboard.
06:17So for example, I'm going to type 15 and look at the Opacity field in the Layers
06:22Panel and you'll notice that it changed to 15 and the image looks much lighter.
06:26I'll put it back to 36 by typing that on a keyboard.
06:30So that's another way to blend images when you're making composites in Photoshop.
06:35In the next movies, we'll continue to build this image, which we are preparing
06:39to place on a web page.
Collapse this transcript
Adding and editing Smart Objects
00:00In this movie, we are going to continue to build our composite image for use on a web page.
00:05And here, we are going to focus on an exciting feature in Photoshop called Smart Objects.
00:10You can use the Coupon image that you finished at the end of the last movie
00:13or you can open a fresh copy of that image, coupon_04.psd, from the Chapter_06 folder.
00:19While you're in the Chapter_06 folder, open also, logo.psd.
00:25Let's take a look at the Logo image.
00:26You can see that this image has two layers.
00:28It has a layer of rasterized text, this is not editable vector type, but its
00:33rasterized text and the smoke curl layer, which is also a pixel-based layer
00:38with a gradient in it.
00:39We are going to bring the Logo into our Coupon.
00:43What's different this time is that the logo has multiple layers in it.
00:46It turns out it's very easy to bring multiple layers from one file to another.
00:51All you have to do is select those so we are going to click on the Smoke Curl
00:54layer, hold the Shift key and click on the Text layer and then, we'll get our
00:59Move tool from the Toolbox and click and drag from the Logo image into the
01:03Coupon image, and when we see that gray bounding box, release the mouse.
01:08I'm going to close the Logo image.
01:09We no longer need that one.
01:12As you can see, the logo is a bit big to fit in this image.
01:16We could just resize the logo with the Transform command,
01:19but the problem is that once you transform a pixel-based image, like this one,
01:24you really don't want to go back in and transform it again, because each time
01:27you do that you end up degrading the quality of the image.
01:30The solution is to use Smart Objects and here's how those work.
01:34I am going to convert the smoke curl layer into a Smart Object
01:38by clicking the smoke curl layer and then going to the Layer menu at the top of
01:42the screen and moving down to Smart Objects>Convert to Smart Object.
01:46On the smoke curl layer, you can see this little icon, which indicates that this
01:50is now a Smart Object.
01:51I'm going to do the same thing to Text layer, selecting it and going
01:55Layer>Smart objects>Convert to Smart Object.
01:59You can put more than one layer into a single Smart Object,
02:02but I want to treat these two separately, because I'm going to do two
02:05separate things to them.
02:06First of all, I'm going to transform both layers, making them both smaller.
02:11Because these are Smart Objects, I don't have to worry about degrading the
02:14quality as I resize them.
02:16And this is true whether you're working with pixel-based objects, like the ones
02:20you see here, or pixel-based photographs, or even vector-based objects.
02:25So I'm going to select both Smart Object layers by Shift+Clicking them both and
02:30then I'm going to press Command+T, which is the free transform command.
02:35As in previous movies, I can't see the anchor points around the bounding box
02:39here, so I'm going to hold down the Command key and press 0, that's Ctrl+0 on a
02:45PC and now I can reach those anchor points and I can click on the top-right
02:50anchor point, hold the Shift key to constrain proportions and drag down to make
02:55that JAVACO tea logo smaller.
02:57And I'll do a little bit here on the bottom-right as well.
03:03And I think I like the way that that looks.
03:06So I can click the checkmark.
03:08Now, because these are Smart Objects, I could come in here and change my mind.
03:12So let's say I want to transform again, maybe I am going to make the logo just
03:16a little bit bigger.
03:17So I can go in with Command+T, hold the Shift key and change the size of
03:23this down or up.
03:25What you don't want to do is you don't want to go more than 100%.
03:28So if you look here, in the Transform Options bar, keep your eye where it
03:32says Width 100 and Height 100, and try not to go like way up here, because in
03:36that case, you are asking the computer to fill in pixels that just were never
03:40there in the first place.
03:41But you can keep going up and down below 100%.
03:45So I'll leave it right here.
03:47Then I'm going to click the checkmark on the Options bar to accept that transform.
03:52You may notice that the type doesn't look very good right now. That's simply a
03:55function of the fact that I'm zoomed into an odd percentage right now.
03:59If I were to change this to 50%, by selecting the Zoom tool, holding the Option
04:03key and zooming back to 50%, the type looks good. That has nothing to do with
04:08the use of Smart Objects.
04:11So the lesson is that you can transform a Smart Object, up and down as many
04:14times as you want, warping it, resizing it, scaling it, distorting it,
04:19but you don't want to go higher than 100%.
04:21However, there are some things you can't do a Smart Object.
04:25In a previous movie, for example, we learned how easy it is to recolor the
04:29content of a layer, by selecting the layer and using the Lock Transparency
04:32feature and then fill in.
04:34Well, you can see that we can't do that on the text layer here, because the text
04:38layer has been made into a Smart Object.
04:40So if I were to select just the text layer and try to click the Lock
04:43Transparency feature up here, it's not available.
04:46And if I wanted to fill this text layer with color, I can't do that either.
04:51If I go to the Edit menu, the Fill command is not available.
04:54So here's what you do in order to perform an action on a Smart Object that you
04:59can't do right on the object itself.
05:02You open the Smart Object.
05:04Now, what does this mean?
05:05When you make a layer into a Smart Object, the original data that's on the layer
05:09is embedded inside the file, so that when you do the transforms as we just did,
05:13you are not really working on the original data.
05:15And that's why you're able to go back in and do it over and over again, without
05:19harming the original data.
05:21When you want to paint or fill the content of a layer, you have to go to the
05:26original data and the way you get there is by double-clicking the icon on
05:30your Smart Object layer.
05:32So I am going to do that now. Double- clicking the Text Layer icon, I'll say
05:35OK at this explanation and that opens the original content of the text layer,
05:41here, in a separate file.
05:43Notice this is called text.psb, which is different than the original file,
05:47which is coupon.psd.
05:50So let's make a change here in text.psb.
05:54I am going to get my Rectangular Marquee tool and I am going to click and drag
05:57over the JAVACO here, because that's the only word that I want to change, and
06:03then, I'm going to click the Lock transparency feature at the top of the Layers panel.
06:09Now, I'm going to get a color to fill these letters with. I happen to have one
06:13available here as my background color.
06:15I am going to click the double pointed arrow and switch that pretty blue to the foreground.
06:20You can open the Color Picker by clicking the foreground color box and
06:23just selecting a color.
06:24And now I'm going to fill the pixels in this selected area by pressing
06:29Option+Delete on a Mac, that's Alt+Backspace on a PC, and now, I can deselect by
06:37Command+D on a Mac, or Ctrl+D on a PC.
06:41Notice that although the color of the word JAVACO is different in the original
06:45data file, it's still is black in the Coupon file.
06:49To update the Smart Object in the Coupon file, I have to save the original data
06:54file with this change.
06:55So I am just going to go to the File menu and choose Save.
06:58You should always choose Save here and not Save As when you're working with a
07:02Smart Object, because you need to save directly back to the same location.
07:06So we will choose Save and now we see that the Smart Object in the Coupon file
07:09has been updated and the word JAVACO is blue there as well.
07:13I'm going to close the original data file text.psb and we are back to
07:18our composite image.
07:20So that's how you can make use of Smart Objects to resize items that you bring
07:25into a composite without worrying about harming their data,
07:28and then, if you need to go into a Smart Object to change the original data, how you do that.
07:33In the next movie, we are going to look at Layer Styles as we continue to build
07:38our composite image for use on a web page.
Collapse this transcript
Creating focus with Layer Styles
00:00We are continuing to build this composite image, a coupon, to place on our web page.
00:04When you combine lots of layered elements as we are doing here, you
00:08sometimes lose focus.
00:09Everything is flat and one way to focus in on a particular element is to add
00:14some dimensionality to it.
00:15Photoshop's Layer Styles are a great easy way to do that.
00:19If you have been working along with me, you can use the same file for this
00:22exercise that you ended with in the last exercise,
00:25or if you prefer, you could open a fresh coupon_05.psd from the Chapter_06
00:30Exercise Files folder.
00:32Let's add a Drop Shadow to that smoke curl, to try to pop it off of the page a little bit.
00:36I am going to select the smoke curl layer in the Layers panel and then, I'm
00:40going to the bottom of the Layers panel, where I'll click fx.
00:44Here's a list of the various Layer Styles that come with Photoshop.
00:47I am going to choose Drop Shadow and that opens this big dialog box.
00:52Over on the left, the checkmark next to Drop Shadow means that that's the
00:56Layer Style that has been applied to the smoke curl and you can see it here
00:59with its default settings.
01:01If you would like to change those settings, to make that shadow perhaps a little
01:05more subtle, then make sure that you have selected Drop Shadow so that it has a
01:09blue highlight on it and that will bring up options on the right side of the
01:13dialog box that relate to Drop Shadow.
01:15Drop Shadow is being used so much that it's almost become a clich? and so, when
01:19I apply a Drop Shadow, I try to make it more subtle than the default settings.
01:23I might come in and perhaps increase the size a little bit to spread the shadow
01:28out from the smoke curl and I'm also going to lower its Opacity.
01:33I am going to take it all the way down to about 21.
01:36So now it's not right in your face, but it does move the smoke curl up off the
01:40image a little bit and now I am going to click OK.
01:43When you look in the Layers panel, you'll see Effects and Drop Shadow is
01:47listed as an Effect.
01:49If you wanted to change the Options on the Drop Shadow, you can always
01:53double-click Drop Shadow and the Layer Style dialog box would open again.
01:57By the way, if at anytime you don't see Drop Shadow on this layer, it's probably
02:01because you have clicked on the arrow on the fx, right on the layer itself.
02:05So if I click that, you can see that the effects collapse into the layer and if
02:09you click it again, you can access the effects to reopen them if you want.
02:13Let's add a layer of text here, and try another effect.
02:16I am going to click on the top layer and then I am going to the Toolbox and
02:19I'll select the Horizontal Type tool.
02:22In the Options bar, I am going to choose Verdana as the font, Regular as the style.
02:28I am going to make this type a little bit smaller.
02:30Let's make it about 8 pt and I am going to leave anti-aliasing at Sharp
02:34because I have such a small point size. That will make the text more readable.
02:39I have a dark color here in the type color field and with all that set up, I am
02:44just going to click in my image and I am going to type 'Present this coupon'
02:52I'll hit Enter, 'for a free pot of JAVACO tea,' and then, I'll click the
03:02checkmark to accept that type.
03:04I'll get my Move tool and I am going to move that text where I want it,
03:08maybe right down here.
03:09Now, what I wanted to show you is that you can copy a Layer Style from one layer to another.
03:15That really comes in handy when you're making things like a matching set of
03:19navigation buttons on a web page and you want each one to look exactly the same,
03:23you can add a Layer Style to one button and just copy it to all the others.
03:27So here's how you would do that.
03:29In this case, I would click on the Drop Shadow effect on the smoke curl layer
03:33and hold my Option key,
03:36that's the Alt key on a PC, and click and drag the effect up to the type
03:40layer, release my mouse and there we have a Drop Shadow, not only on the smoke curl,
03:45but the same drop shadow with the same options on the new text that I just typed.
03:50If you look in the image, you can vaguely see it.
03:52That text looks a little darker than it did before.
03:55To be honest, I don't really like the way that this particular effect looks on
03:58this text, because I'm losing the readability of the words over here, on top of the plants.
04:04So here's something else that you can do with Layer Styles.
04:07You can always change the Layer Styles.
04:09So I'm going to open up the Layer Style dialog box on his type layer by
04:13double-clicking the words 'Drop Shadow' on the type layer.
04:17That opens the Layer Style dialog box and instead of this Drop Shadow,
04:22I am going to see how maybe an Outer Glow looks.
04:25So I'm going to uncheck Drop Shadow, to take that effect off the type, and I'm
04:30going to check Outer Glow.
04:33And then, I'm going to highlight Outer Glow, so that I see some options for
04:37Outer Glow over here on the right.
04:39Here I can do things like change the color of the glow.
04:42So I'll click in this color box and I am going to make my glow white and I'll say OK.
04:47I am going to spread out this glow by clicking on the Spread slider and moving
04:52it over and you can see that the white glow is now much more prominent and then
04:57I'll soften things up by increasing the size of the glow.
05:00I am going to take it way up, maybe about there.
05:04And now, I would like to make it a little more subtle by reducing the Opacity,
05:08perhaps down to say there, 49.
05:12So now, we have got this little bit of a white glow, calling attention to the
05:16text, but it's not overwhelming. And I'll say OK.
05:21And then, I can take that Drop Shadow that was on the type layer and I can just
05:25delete it, because I really don't need that.
05:27I'll click-and-drag the Drop Shadow to the Trash at the bottom of the Layers panel.
05:31So that's how you can work with layer Styles in Photoshop to add dimensionality
05:34to elements in a composite image and to bring attention to certain elements.
05:39In the next movie, we'll wrap up our composite image.
Collapse this transcript
Saving source files
00:00In this movie, we are going to talk about preserving your source file.
00:04When you're all done building a graphic like this one or fixing a photograph,
00:08you want to be sure to save that original source file.
00:11There are several reasons for this.
00:13If you're required to come back and make changes to the file in the future, it's
00:16better to come back to the source file because it contains all of the layers
00:21and other proprietary features that Photoshop offers, like layer masks, like
00:26layer styles, like Smart Objects and more.
00:29And we chose all of these features to use because they are all
00:33re-editable features.
00:35Another reason that it's a good idea to come back to your source file rather
00:39than to the copy you will be saving for the web as a JPEG or a GIF or a PNG is
00:44that those formats all have limitations for editing.
00:47For example, you don't want to re-edit a JPEG because every time you make a
00:51change to a JPEG and then resave it, the compression algorithm for JPEG
00:56throws away information.
00:57It's called a lossy file format, because you lose information.
01:01You don't want to go in and edit PNGs and GIFs because those formats have only
01:05a limited number of colors in them.
01:08So that's why we want to be sure to save our source files.
01:11Now let's see how to save the source files.
01:14Go to the File menu at the top of the screen and choose Save As.
01:19You could choose Save.
01:21Save will be available if you've made any changes to your file since the
01:24last time you saved,
01:26but be aware that if you do choose Save, it will overwrite the last copy of the file.
01:31So if you like to be safe and have one last version around, then choose Save As instead.
01:39In the Save As dialog box, navigate to the location in which you save your source files.
01:45Mine happens to be on my Desktop right now where I already have a Source Files
01:49folder from a previous movie.
01:51I strongly recommend that you save your source files separately from
01:54your optimized files.
01:56The source files are the original files.
01:58The optimized files are copies that you've saved in a web-friendly format.
02:03If you'd like to learn more about this subject, take a look at the Digital Asset
02:07Management movies at the beginning of this title.
02:10If you don't have a Source Files folder on your Desktop, go ahead and make one
02:13by going to the New Folder icon,
02:16that's up here at the top of the window, and create a new folder called Source Files.
02:22Open the Source Files folder and then go down to the Save As or Save As Type
02:26field and let's rename this version of the file coupon_fin for final.
02:32We will leave it with the PSD suffix and we will accept the default
02:37format, which is Photoshop.
02:39The Photoshop format is the PSD format, Photoshop Document.
02:43I want to make sure there's a checkmark next to layers in order to preserve all
02:47the layers in the file.
02:48If they were Alpha Channels, I would also check that.
02:51I'm also going to make sure to embed the color profile even though later when I
02:55save this as a JPEG, I am not going to include an ICC Profile in the JPEG as we
03:00will discuss in a later movie on saving for web.
03:03But at this stage, I do want to say the color profile, and then I will click Save.
03:08Now that we've preserved our source file, in the next movie, we are going to
03:14talk about resizing a copy of this source file for use on the web.
Collapse this transcript
Resizing images for the web
00:01Once you've saved a copy of your full- sized original source file, you will want
00:05to make a copy at the size at which you want to use it on your webpage.
00:09I am going to go to the arrow at the bottom of the Document Window and I am
00:13going to choose Show>Document Dimensions to see how big this image is.
00:19It's too big for webpage, 1000 pixels wide by 630 high.
00:23If you've been following along, you will remember that we made it that big on
00:26purpose, because we thought that would give us more options, perhaps we are
00:30going to want to print a version and it would have to be bigger, as well as
00:33put it on a webpage.
00:35So in this movie, we are going to resize a copy of the source image so that it's
00:40the right size for our webpage.
00:41To do that, I'm going to go up to the Image menu at the top of the screen, and I
00:45am going to choose Image Size.
00:47In the Image Size dialog box, I'm going to change the Width and Height here in
00:52the Pixel Dimensions area.
00:54This area, Document Size, is not relevant to us.
00:57That's only relevant when you're making an image for the web.
01:00If these fields are not available in your Image Size dialog box, it's because
01:05you do not have Resample Image checked.
01:08If I uncheck that, you will see you can't make any changes up here.
01:12So it's very important to have Resample Image checked when you're trying to
01:16change the size of a file for the web.
01:18I am going to type in as the Width, 250 pixels and you will see that the Height
01:24changes proportionally automatically and that's because Constrain Proportions is
01:28checked down at the bottom of the box.
01:30So if that didn't happen for you, then just make sure that Constrain Proportions
01:34is checked before you change the Width and Height.
01:36There is one last thing to change here.
01:39At the bottom of the dialog box is a menu with a lot of strange words in
01:44it, Bilinear, Bicubic.
01:46These are just different formulas that Photoshop uses to decide which pixels
01:50it's going to keep and which it won't keep when it is resizing your image down.
01:55When we are resizing down, we always want to choose Bicubic Sharper.
02:00As it says here, this is the best method for reduction.
02:03If you look at the top of the dialog box, you can see that Photoshop is planning
02:07to throw away a lot of pixels.
02:09The file was 1.8 megabytes on the disk and after this file reduction it will be
02:15only 115.4 kilobytes.
02:17So I will click OK and the file looks smaller.
02:22If you'd like to see it at 100%, just double-click the Zoom tool.
02:26At this point, I would resave this image again and I would put it into the
02:30Source Files folder, resaving it as a PSD file with all of its layers and
02:35proprietary features, and I might call it something like coupon_fin_small.
02:43In the next movie, we are going to take the last step before we save the image
02:47for the web and that is to sharpen.
Collapse this transcript
Sharpening images for the web
00:00In this movie, we are going to learn how to sharpen.
00:03We are sharpening the resized, scaled-down source file that we created in the last movie.
00:08I like to keep my original source file unsharpened and then I'll make resized
00:12copies and only after resizing will I sharpen, and that's because of the way
00:16that the sharpening algorithm works.
00:18Sharpening affects only one layer at a time, so when you have a multilayered
00:22file like this, you have to either flatten all the layers down before
00:25sharpening, which I don't like to do, because I like to keep my layers, or create
00:29a composite layer that contains the content of all the other layers in the file,
00:33and that's what I am going to show you how to do now.
00:35I've selected the top layer in the Layers panel and then I'm going to layers
00:39panel menu here at the top-right of the Layers panel and I'm going to go down to Merge Visible.
00:44I am going to hold down the Option key on a Mac, or the Alt key on a PC as I
00:49release my mouse, and that makes a brand new layer at the top of the stack that
00:53is a copy of the content of all of the layers below that had the eye icon on, in
00:58this case, all the layers.
00:59I will name this layer 'composite'.
01:03And if I were to turn all the other layers off, you would see that we still have
01:07our image here, because everything got copied to the composite layer.
01:12Now, with the composite layer selected, I am going to add a sharpening filter.
01:16Before I do, I have to tell you about one of the greatest features in Photoshop
01:20CS3 and that is Smart Filters.
01:22Smart Filters allow you to apply a filter, like a Sharpening filter, and then
01:27later go back in and edit that filter, changing it settings.
01:31So before we apply our Sharpening filter, we are going to ready this layer for Smart Filters.
01:37The way you do that is with the composite layer selected, go to the Filter menu
01:41and choose Convert For Smart Filters.
01:44Click OK at the message and you will see an icon on the composite layer
01:49indicating it has been made into a Smart Object, the same kind of Smart Object
01:53that we discussed in a previous movie about adding and editing Smart Objects
01:57to our web graphic.
01:59Now, we can come in and apply a Sharpening Filter.
02:02So I am going to Filter and going down to Sharpen and I could choose either
02:06Smart Sharpen or Unsharp Mask.
02:08The other three choices here really are never used.
02:11So I'm going to choose Smart Sharpen.
02:13It's the newer of the two choices, but either one will do.
02:16They work basically the same way.
02:18Here in the Smart Sharpen dialog box, I have a preview of the image and I am
02:22actually going to use that preview to zoom in so you can get really close and
02:25see what sharpening does.
02:27So I am going to click the Plus down here and that will zoom me in.
02:30But it's important that I also have a 100% view of my image open on the screen,
02:35because that's the view at which I want to test how my viewers will see
02:39things in a web browser.
02:40They will also be looking at 100% view.
02:43So over here in the Document Window, I have that set to 100%.
02:47In this dialog box, you can start by clicking on the Advanced button.
02:51It may seem odd, but what you want to do here is just to turn off Fade Amount,
02:55which is the default in the Highlight tab.
02:58So with the Highlight tab selected, I am grabbing the Fade Amount slider and
03:02dragging it all the way to 0.
03:03Then I'm going to do the same in the Shadow tab, because I don't want the
03:07amount of sharpening on Highlights or Shadows to be faded until I decide I want to do that.
03:12Then I am going to click on the Sharpen tab and here, I am going to go down
03:15and check More Accurate.
03:17More Accurate makes sharpening more precise.
03:20It also makes it take a little longer, but not long enough that it bothers me,
03:24so I'm going to check More Accurate.
03:25I will leave Remove set to Gaussian Blur, which is a general kind of blur that
03:29will be the target of our sharpening.
03:31Sometimes, if you're working on a photograph, you may have Lens Blur.
03:36Lens Blur comes from camera movement during the taking of photographs or Motion
03:40Blur, which comes from the subject moving during the taking of photographs.
03:44In this case, with our composite image, Gaussian Blur is the best general choice.
03:49Before we move the Amount and Radius sliders, let me explain what Sharpening
03:52does and then what the sliders do.
03:54Sharpening is basically an illusion in Photoshop.
03:57It's created by the program looking for edges.
04:00It considers anything to be an edge that is an area of high contrast.
04:04So for example, here where we have the light smoke curl against the darker
04:08letters of the word Javaco.
04:10When Photoshop finds this sort of an edge, it looks for the bright pixels along
04:15one side of the edge and the dark pixels along the other side of the edge and it
04:19makes the bright pixels brighter and the dark pixels darker.
04:21That creates an increase in contrast and that's what our eyes see as sharpness.
04:26Now let's take a look at the sliders.
04:28The Amount slider determines how light or how dark those edge pixels will
04:32become, and the Radius slider determines how many pixels out from the edge will
04:37be made brighter or darker in the sharpening process.
04:40These two sliders work together.
04:42So for example, if you have a very thin radius, then you're going to want to
04:45have a larger amount to make the little thin radius of sharpened pixels along
04:51the edges brighter or darker.
04:52Let's see how this works in this case.
04:54I'm going to start out by dragging my Amount slider all the way over to the right.
04:58This is going to help us to see the results of moving the Radius slider and then
05:02we will put Amount back to a more reasonable level.
05:05You can see that when you move the Radius slider to the right, you get a
05:08really exaggerated effect.
05:09As the area of bright pixels is made wider and the area of dark pixels is
05:13made wider at each edge, including along these stems of the plants and along the smoke curl.
05:18So I am going to take the Radius slider and move it all the way to the left
05:23and then rather than grab the slider and move it, I'm going to move it using
05:27my Up and Down Arrow keys on my keyboard, because I just want to go in small increments.
05:31So I will move with the Up Arrow to point to 0.2 and then to 0.3 and I get to
05:360.3, I can already see an exaggeration of the edge pixels, 0.4 is even more.
05:42Now remember, we are not only looking at this zoomed in view, we are really
05:45interested in this 100% view up in the Document Window.
05:49So let's see how it looks up here at 0.3, there is still a little bit of a
05:53sharpening halo here. I'll try 0.2.
05:55I think I'll leave it at 0.3 for purposes of this exercise, just so you can
05:59really see the results.
06:01In general, you do not have to oversharpen when you are sharpening for the web.
06:04You need to just get to the level that looks right to you on your screen.
06:07You may have heard that for print, you sometimes oversharpen, because a printer
06:11can add a little blur to the process.
06:13So now we have our Radius set where we want it, and now we will come in and move
06:16the Amount slider down.
06:18The Amount slider is affecting the brightness of those edge pixels.
06:22So I will bring it down until it looks about right to me.
06:28This is a pretty subjective process.
06:29So I think that looks okay.
06:31Now, if you want to see the Amount by which you've sharpened, you can come into
06:34this preview and press down.
06:36That shows how the image looked before sharpening and that shows how it
06:40looks after sharpening.
06:41If you'd like to see that difference here in the Document Window, uncheck the
06:45Preview box to see the image without sharpening and with sharpening.
06:50Again, keep your eye on the Document Window, without sharpening, pretty blurry,
06:54with sharpening, much sharper looking.
06:57Before you leave this dialog box, I want to do one more thing. Keep your eye
07:00here, on the ferns, and I am going to turn the Preview on and off again.
07:05Do you see how the sharpening effect is particularly strong on the ferns,
07:10because they're against the white water in the background, and the same is true
07:14down in text down here, where it says Present this coupon.
07:18I don't need the sharpening to be as strong in those areas.
07:21So now, I'm going to go into the Highlight tab by clicking it in the Smart
07:25Sharpen dialog box and I'm going to fade the amount of sharpening in the
07:28highlights and that will kind of even things out.
07:31So again, keep your eye in the Document Window out here.
07:34The Fade Amount is now set to 0.
07:36Look what happens when I set Fade to 50.
07:38You see that we now have less crispiness in the white areas.
07:42Look what happens when I set the Fade Amount to 44.
07:44Can you see that we now have less crispiness in the brightest areas of the image?
07:49So now we will click OK and we have a sharpened image.
07:52Say some time had passed, or we changed our mind, or the client didn't like
07:56the amount of sharpening, we could always come back in and resharpen by just
08:00double-clicking the Smart Sharpen Smart Filter, which we now see on the composite layer.
08:05So let me just show you that if I double-click that, the Smart Sharpen dialog
08:09box opens again and we can change something, perhaps we will increase the Fade
08:13Amount, and then we will say OK.
08:15Because this is a Smart Filter, there is one more opportunity to make our
08:18sharpening even better.
08:20On the Smart Sharpen layer, we have these double pointed arrows, on the right.
08:23If I double-click those, I get the Smart Sharpen Blending Options dialog box and
08:28what I can do here is to change both the Opacity of the sharpening effect and
08:33the Blend mode of the effect.
08:35I am most interested in the Blend mode because sometimes when you sharpen an
08:38image, you introduce a little bit of a color change.
08:41To avoid that, I'm going to choose, from the Mode menu, Luminosity and this means
08:46that only the luminosity values, the brightness values will be affected by
08:50sharpening, not the color values.
08:52And I am going to click OK.
08:54At this point, I would save this image again, and we are now ready to take it into
08:58Save For Web to optimize it for use on our website, and that's what we will do
09:02in the next chapter.
Collapse this transcript
7. The Save for Web Function
Understanding optimization and web formats
00:00This chapter covers optimizing images for the web.
00:03Optimizing an image means number one, converting a copy of the image to a
00:07format that can be displayed in a web browser and number two, compressing the
00:11file so that it is as small as possible so that it downloads as fast as
00:15possible at the viewers end.
00:17Your goal as a web designer is to make images that are as small in file size as
00:21possible, but that look as good as they can.
00:24These two things, small file size on the one hand, and good appearance, or good
00:28image quality on the other, are opposites and they're always in a tug-of-war with one another.
00:33The more you have of one the less you're going to have of the other.
00:36This chapter will help you to develop the best quality graphics with the
00:39smallest file size possible.
00:41We're going to be looking, in detail, at how to optimize in two file formats.
00:45The first of those is JPEG, which stands for Joint Photographic Experts Group and that's a hint.
00:51It's a hint that this is the best file format for optimizing photographs.
00:55It's also the best file format for optimizing other kinds of images that,
00:58like photographs, contain continuous tone, in other words, gradual transitions of color.
01:04There are some kind of graphics, like glows and gradients and drop shadows, which
01:09also fit this definition, in addition to photographs.
01:11We'll also be looking in detail at how to optimize in the GIF format.
01:15GIF stands for Graphic Interchange Format and the word graphic there is your
01:19hint about what kinds of images can be optimized best in the GIF format.
01:23GIF does best with simple graphic images that have large solid areas of color,
01:28like the one you see here.
01:29Other examples are logos, illustrations, cartoons, line art.
01:34There are also images out there that have both continuous tone and a flat
01:38graphic content, such as the image you see right here.
01:41The smoke curl in the middle of this image is a soft gradient and therefore
01:44qualifies as continuous tone, while the rest of the image is made up of
01:48solid areas of color.
01:49In this chapter, we'll learn techniques for dealing with this situation too, and
01:53we'll also talk just a little bit about PNG, which is another web ready format
01:57that is very similar to GIF.
01:59In the next movie, we'll take a look at the interface of the Save for Web
02:02window, which is where you optimize graphics in Photoshop.
Collapse this transcript
The Save for Web window
00:00In this movie, we'll take a look at the Save for Web window, which is where you
00:04go to optimize images for the web in Photoshop.
00:07When you're ready to optimize an image for the web, please do not go to the Save
00:11or Save As menu, where you may find web ready file formats, but it's likely the
00:15results of that effort will be larger than if you use the Save for Web window
00:19and you won't be able to take advantage of the visual comparisons of optimize
00:23previews that we have in the Save for Web window.
00:26So let's go and take a look at that window to see what's there.
00:29With an image open, this one from the Chapter 07 folder, go to File>Save for Web & Devices.
00:36That opens the Save for Web window.
00:38My Save for Web window opened to this 2- Up view. If yours did not, click on the
00:422-Up tab here at the top of the window.
00:44What we see here is, over on the left, the original PSD image and you can tell by
00:49looking at the bottom and it tells you this is the original.
00:52It also tells you how big that file is, 576K. That's 576 kilobytes.
00:58Over on the right, we see a version of this image as it would look optimized as
01:03a JPEG in this window and its settings are right over here, in the top-right.
01:07As you work to optimize this image, you'll change some of these settings and
01:11you'll see the results of changing those settings in the Preview Pane that has
01:15the light blue line around it.
01:17As you change those settings you'll also see the file size of the JPEG preview change.
01:22So as you work with the settings you'll be constantly checking the file size
01:25here and the appearance of the preview here.
01:28At the top of the screen, click the 4-Up tab.
01:31This is a view in which some people prefer to work because it shows you not only
01:34the original image on the top left, but three previews and you can set up each
01:38preview with different settings over here.
01:41Also in this window on the top-left, we have an abbreviated Toolbox, like a Hand
01:46tool, which you can use to move around in images that are too big to show in the Preview Panes.
01:51There is a Zoom tool and a few other tools that we will investigate as we
01:55move through this title.
01:57Down at the bottom of the Save for Web window is the Preview in Browser button.
02:01Clicking this button will open the selected preview, the one with the light
02:05blue line, in your default web browser on your computer, so that you can see how
02:09it will look there.
02:10The first time you use the Save for Web window you may see a Question mark in
02:14this box as we see here.
02:16If you press the Arrow and choose Edit List, in the Browsers dialog box that
02:20opens, press Find All and Photoshop will go out and find the web browsers on your machine.
02:26Then choose the browsers in which you would like to preview your web graphics.
02:30So we could select Safari. If we wish, we could also select Opera.
02:34I'll just do Safari for now and I'll click Add and then I am going to go to
02:38my Applications folder and I'm going to find Safari and click Open and then click OK.
02:46Now you can see that the Preview in Web Browser icon has changed to a Safari icon.
02:52Finally, down at the bottom-right, we have the Device Central button.
02:56This is new in Photoshop CS3.
02:58It will take you to Adobe Device Central, a new application for developing and
03:02testing content for mobile devices like cell phones.
03:05So that's a brief tour of the Save for Web & Devices window.
03:09In the next movie, we'll work in this window to optimize a JPEG.
Collapse this transcript
Optimizing JPEGs
00:00This movie is all about optimizing JPEGs.
00:03Your goal when you are optimizing a JPEG is to make it as small as possible, but
00:07still have it look good.
00:08How do you make a small JPEG?
00:10Here are some tips.
00:11Start with an image that has continuous tone. A photograph is a perfect
00:15example, or a graphic that has continuous tone effects, like glows, gradients or
00:20drop shadows. Add a little bit of blur, because the JPEG algorithm does a
00:24better job of compressing blurry images then it does sharp images. Increase
00:29the amount of JPEG compression.
00:30In Photoshop, we'll see that you do that in the Save for Web window by
00:34decreasing the Quality slider.
00:36If you have to, go back to the Source File and make it less saturated or less
00:40contrasty and the resulting optimize JPEG is likely to be smaller.
00:44And finally, you can use an Alpha Channel to selectively optimize different areas of a JPEG.
00:49We'll learn about that in another movie, but let's take a quick look at the
00:52first bullet points here and how they work on a real file.
00:56I opened a photograph, candles.psd, in Photoshop and then I chose File>Save for
01:02Web & Devices to open the image in the Save for Web & Devices window.
01:06All three of my preview panes here in the 4-Up tab happened to be set to GIF.
01:11As you can see, none of them look very good.
01:13The candles show little dots and here, wavy artifacts.
01:18And the file sizes are all quite big, 89K, 70K, 71K, in each of the previews.
01:24So because this is a photograph, I'm pretty sure I can get it smaller and make it
01:28look better as a JPEG than as a GIF.
01:30So my first step is to go to the Format menu, here on the right-side of the Save
01:34for Web window, and choose JPEG.
01:36Now this Preview Pane is set to JPEG, the others are still set to GIF.
01:39So I am going to go to the arrow on the right-side of Save for Web window and
01:43choose from that menu, Repopulate Views and now we have three different kinds of
01:48JPEGs in our Preview Panes, each with a different quality setting.
01:52Quality is the setting that will have the largest effect on the file size and
01:56appearance of your image as optimized.
01:58Notice that, up here, we have a quality of 60 and the file size of 33.37K, the
02:04image looks pretty good.
02:05If we go down to the next Preview Pane where we have a quality of only 15, the
02:10image is not looking good.
02:11It's small, only 10K, but it's not acceptable in terms of appearance.
02:15In between, over here, we have a quality of 30 and a pretty small file size of
02:2015K, but again, the image just doesn't look good enough for my taste.
02:24So I think I need to be somewhere between 30 and 60.
02:28So with this top right Preview Pane selected, I am going to move over to the
02:32controls on the right and go to the Quality slider, click and I'm going to drag it down.
02:36I'll put it at about 55.
02:39I've managed to bring the file size down to 30.64K, that's better, and I think
02:44this image still looks good, so I'm going to accept that level of quality.
02:48If I want to bring the file size down a little more, I can go to the Blur field,
02:52click its slider and move it over slightly.
02:55Keep your eye on the top-right Preview Pane, because I don't want to go too far
02:59with this or the image will look too blurry.
03:00That looks about right to me, at about 0.23, and of course these numbers are
03:04different for different images.
03:06But in general, you want to stay on the low-side of blur.
03:09And now we are down to 28.65K over here.
03:12I'd like to talk about this setting, the ICC Profile, for a minute.
03:15In an earlier movie on Color Management, we talked about the fact that ICC
03:19Profiles are pieces of information that get attached to a file that describe the
03:24color space in which the file was built.
03:26This is useful for print, but when you're saving for the web it isn't very useful
03:30because most web browsers cannot read these profiles.
03:33In addition, I want to show you the impact on file size of adding an ICC Profile.
03:37Instead of the 28.65K that we currently have with this compressed image, if I
03:43check include ICC Profile, we go up to 34.8K which is quite a bit for something
03:48that web browsers really can't read.
03:50So we are going to leave that unchecked.
03:52Also on the subject of Color Management, there is something new in Photoshop
03:55CS3 Save for Web and that is that if you go to the menu at the top-right, you
04:00can see that there is a command Convert to sRGB and that this command is
04:04checked by default.
04:05What this does is convert the selected preview to the sRGB color space.
04:10I suggest that you keep this command enabled to deal with any images that you
04:14haven't already converted to sRGB before you came into the Save for Web window,
04:18as we discussed in the earlier movie on Color Management.
04:21You do want to preview the images you're making for the web in sRGB generally,
04:25because sRGB reflects the characteristics of a typical PC monitor and we're
04:30assuming that most people are surfing the web on a PC.
04:33If we wanted to get our image even smaller than 28.65K, we'd have to exit the
04:38Save for Web window and see if we can change something about the original file. Let's do that.
04:43I'm going to click Done to save these settings so that we can come back to them,
04:46and back in Photoshop I'm going to add a couple of adjustments to this image.
04:50I am going to use Adjustment layers, which are layers that float above the
04:54content layer and apply adjustments to it without harming the pixels of the
04:58underlying content layer.
04:59I am going to go down to this black- and-white circle icon at the bottom of
05:03the Layers palette, click and choose from this list of Adjustment layers, Hue/Saturation.
05:09In the Hue/Saturation dialog box, I am going to reduce the Saturation of this
05:13image, maybe I'll go about 20.
05:16I think the image still looks pretty good and say OK, and then I'm going to
05:20add another adjustment layer from the black-and-white icon, this time the
05:24Brightness/Contrast Adjustment, and I will decrease the Contrast here also to about 20.
05:29By the way, Adobe has re-engineered this Brightness/Contrast adjustment,
05:34improving the way it works so that it doesn't end up blowing out highlights or
05:38blocking out shadows as it did in the past.
05:40If you liked the past behavior better, you can always click Use Legacy, but I
05:44don't suggest you do that, I think the improvements to Brightness/Contrast have
05:48really made it useful.
05:49So with Contrast lowered, I am going to click OK and now our image still looks good.
05:53Let's go back into Save for Web and see if we see a difference.
05:56I am going to File>Save for Web & Devices and here we can see that our file size
06:01has now been reduced to 27.1K.
06:04So reducing the Contrast and Saturation in the source image has indeed resulted
06:08in a savings in file size in the optimized copy.
06:11So now I am going to click Save and in the Save Optimized As dialog box, I'll
06:16choose a location in which to save my image and notice that the suffix JPEG has
06:21been automatically appended.
06:22Again, we are not saving over our PSD source file, we're just saving a copy that's
06:27been optimized as a JPEG.
06:29So I am going to click Save and when I go out to my Desktop, I see my optimized
06:33image there. I can open that and let's compare that JPEG, which we just
06:39optimized and got down to about 27K, to the original PSD file, which is many times that size.
06:46The JPEG does look a little bit blurry around the candles but given the file
06:50savings, I'd say that's acceptable.
06:52Join me for the next movie in which we're going to take a look at using an Alpha
06:56Channel to selectively optimize different parts of a JPEG.
Collapse this transcript
Selective JPEG optimization
00:00In this movie, we're going to cover a special technique called Selective JPEG Optimization.
00:05We'll be optimizing different parts of a JPEG with quality settings that differ
00:09from other parts in an attempt to get the image as small as we can make it.
00:13This image coupon.psd from the Chapter 07, Exercise Files folder is a good
00:18candidate for this technique, because it has some areas that are photographic
00:22and others that are graphic.
00:23I am going to start off by isolating the graphic areas, the smoke curl and the
00:27Javaco tea rasterized text layer.
00:30To do that, I am going to hold the Command key as I click on this icon on the
00:35smoke curl layer, in the Layers panel.
00:37That's Command key on a Mac, Ctrl key on a PC.
00:40In the document window, you can see that we've selected the smoke curl and to
00:43add the text to that selection, I am going to hold the Shift key and the
00:47Command key, that's the Shift key and the Ctrl key on a PC, as I click on the
00:51thumbnail on the text layer.
00:53Now I am going to move over to the Channels palette by clicking the Channels tab
00:57and go down and click the Create New Channel button.
00:59That creates a channel from the selection.
01:02A channel is really just another way of looking at a selection.
01:05I am pressing Command+D on a Mac, or Ctrl+D on a PC to delete that selection.
01:11And now, let's go into the Save for Web window. File>Save for Web & Devices.
01:17The JPEG preview on the top left of my screen is set to a quality of 30.
01:22With the blur of 0.19 we've got a file size of 12.53.
01:27That's acceptable, except that the image just doesn't look good.
01:30To get it to look good, I am going to have to increase the quality.
01:33So I come over to the Quality slider and I'll start dragging to the right and I
01:37still don't like it.
01:38It looks like I am going to have to go pretty far here, maybe as high as
01:43about 70, and now the image looks better, however it's bigger than I would like, 31.88K.
01:51So let's see if we can optimize the area that we've isolated in the Alpha
01:55Channel separately from the background of the image, because we don't care as
01:59much how the background looks, as we do the smoke curl.
02:02I'm going to click this icon to the right of the Quality field and that opens
02:07the Modify Quality Setting dialog.
02:10There, I'm going to choose as the Channel, Alpha 1.
02:14You'll notice that our preview has just degraded.
02:16Let me explain what's happening.
02:17Here in the Modify Quality Setting dialog, you see a representation of the area
02:22that's white in the Alpha Channel and the area that's black in the Alpha
02:25Channel, here it's blue.
02:27The White slider in the Quality area represents the white part of the Alpha
02:31Channel, which is the graphic here.
02:32We are going to leave that compressed to 70.
02:34We're going to see if we can increase the compression, lower the Quality
02:38percentage for the rest of the image and thereby save some file size.
02:42Right now, the rest of the image is being compressed all the way.
02:45It set at 0% quality.
02:47That's why it looks so bad.
02:49So we're not going to be able to get away with that.
02:51Let's take that Black slider, which represents the way everything except the
02:54smoke curl and the Javaco tea text is being compressed, and start with it all the
02:59way over next to the White slider.
03:01Now we are back where we started, 31.88K, and everything is being compressed to 70%.
03:06Now I'm going to start moving that Black slider over and as I do, I see my file
03:12size is getting smaller as we change the quality of the background, perhaps
03:17that's too much. I might try about, say, 50% there.
03:21Now our file size is down to 29.65K as opposed to 31.88K when we didn't use
03:28selective optimization.
03:29So I am going to say OK and then I'll click Save and I'll save coupon.jpg on my Desktop.
03:35I'll open coupon.jpg and we can compare it to our original PSD.
03:44Again, Photoshop has done a pretty good job of optimizing our JPEG for us.
03:48Next up, we'll be taking a look at how to optimize GIFs.
Collapse this transcript
Optimizing GIFs
00:00In this movie, we are going to talk about how to optimize GIFs.
00:03Here are some principles you can apply try to make a GIF as small as possible
00:07but still look good.
00:09First of all, start with an image that has large areas of solid color, like an
00:12illustration or a logo.
00:14GIF does best with this sort of image. If an image is a photograph, then it's
00:17going to be better as a JPEG,
00:19although once in a while, you may have to optimize a photograph as a GIF,
00:22for example, if you're making an animated GIF with a photograph in it or if you
00:26are trying to make a transparent image for the web with a photograph in it.
00:30Reduce the number of colors in the GIF.
00:32This is the main thing you can do to make the GIF smaller.
00:34GIFs have a limited palette of colors and you can control how many colors are
00:38included in the palette.
00:39Reduce the amount of dithering.
00:40Dithering places small dots of color, one next to the other, to simulate a color
00:44that doesn't happen to be in the selected palette.
00:47Although dithering can make an image look good, it often increases file size.
00:50So if you reduce Dithering, then you can your GIFs smaller.
00:54Add lossy compression.
00:55In Photoshop, you can add the same sort of lossy compression to a GIF
00:59that's applied to a JPEG.
01:00You can also use an Alpha Channel for selective optimization in GIFs and we will
01:04look at that in a future movie.
01:06Now, let's take a look at how the first bullet point is applied to an image in
01:10the Save for Web window.
01:12This is dragonwell.psd from the Chapter 07 Exercise Files folder.
01:16You can open this image if you have those files or open an illustration of your choice.
01:21This is just the sort of file that usually optimizes best as a GIF, because it
01:25has large areas of solid color.
01:28Let's take this into the Save for Web window.
01:30I am choosing File>Save for Web & Devices.
01:33This file is opened as JPEG previews, because the last image I was working on
01:37had been saved as JPEG.
01:39You can see that at the higher compression the file really doesn't look good.
01:43Here it doesn't look bad at a quality of 60 compression, but the file size
01:48is pretty big, 11.26K.
01:50Let's see if we can get that smaller if we try saving this as a GIF.
01:54First, I'm going to go to the 2-Up tab, rather than the 4-Up, so I can see the whole image.
01:58And then I'm going to go over to the Format field and choose GIF.
02:02Right away, the image looks better.
02:05Its 11.82K now, and that's with 256 colors in its palette.
02:11A GIF can only have a limited number of colors, a maximum of 256.
02:15What happens is the original file, which has many, many more colors than that,
02:20particularly at anti-aliased edges, like along the type here, is indexed down to
02:25the number of colors that you specify in the controls over here.
02:29Right now, the number of colors is 256 and you can see which 256 colors here,
02:34in the Color Table.
02:35The first place I go to try to minimize the size of a GIF is the Color field.
02:40I click on the Colors menu and I'm going to reduce the number of colors by half
02:45to 128, 1k off the file size and the image still looks good.
02:51So I'm going to try again, going down to 64 colors.
02:54Another K has come off the file size and the image still looks good. Let's try 32.
02:59This is borderline.
03:00It's starting to degrade in quality, particularly around these letters here, but
03:04the file savings is good.
03:06We are down to 7.9K.
03:08So I would approach an image like this just going down the menu until I saw a
03:14place where I just couldn't go, like four colors.
03:16The reason that we've lost all the colors in the image is, as you can see in
03:20the Color Table, we have only three greens and a white.
03:23So we have no blues and no grays.
03:25I thought that the file didn't look too bad at 32K. So I'm going to go back there.
03:29The next thing that I would try to get the file size down even further is
03:33to work with Dither.
03:34Dither means the placement of small dots of colors from the current palette, the
03:39colors you see here in the Color Table, one next to the other, to try to simulate
03:43a color that isn't here.
03:44Dithering can make some images look better, particularly if they have a lot of
03:48gradual transition of color, but it often increases file size.
03:52So let's see what happens if we change the amount of Dither from 100% down to 0.
03:58Another thing you can try to reduce the number of colors in a GIF is to change
04:03the color reduction palette.
04:04This is a formula that determines which 32 colors are going to be displayed here
04:09in the Color Table right now.
04:10The Selective palette, the Perceptual palette and the Adaptive palette are all
04:14pretty much the same in terms of results.
04:17They all look at the original image and select colors directly from that image,
04:21but they do so each with a different formula.
04:24So let's take a look at the file size with each of these.
04:27Selective gives us a GIF of 7.634K, Perceptual gives us a GIF that's a little
04:33bit smaller, 7.114K, and looks the same.
04:36And then let's try Adaptive. It still looks the same and its 7.553K.
04:41So just going by the file size, Perceptual is the best choice here.
04:45Before we choose that, I want you to see what happens if we pick Restrictive
04:49Web. We lose most of the colors in the file, because now our optimized GIF is
04:55being represented only in terms of Web Safe Colors.
04:59So you usually want to avoid doing this.
05:01Try not to take an image made with non- web safe colors and index it down to Web
05:06Safe colors, or you will get a result like this.
05:09So I am going back to Perceptual and now my file is 7.114K.
05:14The last thing I can try here is to add some lossy compression.
05:17So I am going to click and drag, not too far, because lossy compression actually
05:22does throw away data.
05:24We don't want to do too much of that.
05:26I think around 12 will do here, taking us down to 6.07K.
05:31That's certainly acceptable for this particular file.
05:34So I'm going to click Save.
05:35I will save the GIF, automatically named with the GIF suffix on my Desktop, and I
05:43will open the GIF and let's compare it to the original PSD.
05:47It looks quite good and it certainly is much smaller.
05:49One other thing that you can do when you're optimizing a GIF is to lock down
05:53certain colors to make sure that those get saved in the GIF.
05:56I am going to show you how to do that in the next movie.
Collapse this transcript
Locking colors
00:00Sometimes you will have an image like a logo in which you have to keep certain
00:04colors even though you're going to optimize it as a GIF.
00:07So perhaps there are some corporate colors that you have to retain.
00:10In this movie, we are going to look at how you can lock down colors to make sure
00:13that they go into your GIF.
00:14We are going to take this file, chai.psd from the Chapter 07 file folder, and
00:19bring into Save for Web. File>Save for Web & Devices. I have my GIF Preview
00:25selected on the right, and I'm going to go over to controls on the far right and
00:29start reducing the number of colors from the current maximum of 256.
00:34Keeping my eye on the GIF on the right, I see that at 128 colors, I still have a
00:40decent looking image.
00:41At 64 colors, the same is true and I can get down pretty far and still retain
00:48the integrity of the colors in this image,
00:50but look what happens when I go down as far as 8 colors.
00:55I've lost the blue that was on the word 'chai'.
00:58It's now turned green, and I also see that there's been a color shift in the
01:02green characters in the background.
01:05And I believe that the green around the border has also changed, and that's
01:09because we only have eight colors, and these are the eight colors that were
01:13automatically selected.
01:14They don't include all of the important colors in the original file.
01:17So here's what we can do in that situation.
01:20Let's take the number of Colors back up to 32.
01:23And now I see that I have back all of my important colors,
01:27for example, the blue in the chai.
01:29Now, I'm going to go over to the small toolbar on the left side of the Save for
01:33Web & Devices window, and I am going to click on this Eyedropper tool, and then
01:37I'm going to come into the image, and I am going to select right on top of the
01:40blue in the word chai.
01:42In the Color Table, you will see that that blue chip now has a border around it,
01:47indicating it is selected.
01:48Now I am going to down to the bottom of the Color Table and click on the Lock
01:52icon, and now my blue chip has a little tiny square in the bottom right corner,
01:56indicating it is locked down.
01:58With the Eyedropper tool, I'm going to click on the other important colors in the image.
02:02So I'll click on this green and I'll lock it and this green and lock that one and I
02:08will continue doing this on the important colors,
02:16maybe this gray here, the white, and that should do it.
02:24Now, I'm going to try going back down to 8 colors.
02:27So we will go up to the Colors field, and we will choose 8, and this time, I have
02:32the 8 colors that I select as being important, including the blue of the chai,
02:36and the greens in the background.
02:38And you can see all of those eight colors are still here in the Color Table.
02:41Now granted, I normally would optimize this image at a higher number of colors,
02:46because the edges are kind of rough.
02:47But I wanted you to see how we could lock down colors and retain them even when we
02:51went down as far as 8 colors.
02:53In the next movie in this chapter, we are going to look at
02:55selectively optimizing GIFs.
Collapse this transcript
Selective GIF optimization
00:00In an earlier movie, we talked about selectively optimizing different parts of a JPEG.
00:05You can do the same thing with a GIF.
00:06For this exercise we are going to use decaf.psd from the Chapter 07 file folder.
00:11Notice that although this file has lots of areas of plain color, which will
00:15probably optimize well as GIF, there is also a gradient here in the smoke curl.
00:20And that may not optimize well as a GIF, because a gradient is an element of
00:24continuous tone, and we know that the GIF algorithm doesn't do very well
00:28with continuous tone.
00:29Let's also notice, in the Layers panel, that the smoke curl happens to be a
00:33vector-based shape player and there also is a type layer here, the word 'decaf',
00:38which we see here in yellow.
00:39Those two facts will help us to selectively optimize this file.
00:43Notice that I'm not creating an Alpha Channel here first, and that's because we
00:47already have a vector-based channel and a type channel that the Save for Web
00:51window will recognize when we selectively optimize.
00:54To see what I mean, let's go to File, check Save for Web & Devices and in the
00:59Save for Web window, with the GIF preview selected, I am going to go to the
01:03Colors field and start reducing the number of colors.
01:08As I do, the file size goes down, but the quality of the image is starting to degrade.
01:13At 64 colors, look at this gradient.
01:16It really is showing banding between the colors.
01:19Let's try 32 and now the banding is really pronounced with big wide bands.
01:24So obviously that is not acceptable.
01:26We've lost those fine gradients between colors.
01:29So we need to go back, probably, to 128 colors.
01:33At 128 colors, the file size is 8.817.
01:37Let's see if we can get that down further.
01:39We can try to do that by selectively optimizing certain parts of this image,
01:43in particular this smoke curl with its gradient, separately from the flat background.
01:48There are three fields in which you can do selective optimization of GIFs.
01:52One of those is the Color Reduction palette, here.
01:55The other is Lossy Compression, here, and the third is the Dither field, here.
01:59Let's try the Color Reduction palette and see what happens.
02:02I am going to click on the icon to the right of the Color Reduction palette,
02:06which is currently set to Perceptual for the entire image, the smoke curl
02:10and the background.
02:11That opens the Modify Color Reduction box.
02:14I am going to enable All Vector Shape layers here.
02:17As I do that, keep your eye on a Color Table, because what's going to happen is
02:20this is going to weight the colors that are chosen for Color Table toward the
02:25colors in the smoke curl.
02:26You will see less yellows and more blues and greens.
02:29So I will check that box.
02:31Did you notice the Color Table change?
02:33We've now lost most of the yellow colors that were down here in the bottom rows.
02:36There is only one yellow left.
02:38Our smoke curl looks pretty good and we have saved a kilobyte of file size.
02:43However, now the yellow type decaf looks bad, because we only have one color of
02:48yellow and that means that we don't have a nice gradual blending of color at
02:51the edges of the text.
02:53To fix that, I'm going to try enabling the All Text layers command in the Modify
02:58Color Reduction dialog box, and that got us back some yellows.
03:02Now the text looks better.
03:04The smoke curl still looks alright, and we are only at 7.847K.
03:09So selective optimization really worked well here in terms of the selection of
03:14Color Reduction palette.
03:15And I also want to mention that I didn't have to go and make an Alpha Channel
03:19first because Photoshop was able to see my vector shape layer and the text layer
03:25without having to create Alpha Channels.
03:26So that's quite useful.
03:28Let's say OK here, and I'm going to click the icon to the right of the
03:31Lossy Compression field.
03:33That brings up the Modify Lossiness setting, where we can selectively apply
03:37lossiness to our vector shape layer, the smoke curl, and the rest of the image.
03:42Let's see what happens if we check All Vector Shape layers. Not good.
03:46However, we can fix that by taking the black slider and dragging it all the way over to left.
03:51Then we'll take that black slider and come back to the right and we will take
03:56our time and as we do, notice that we are reducing the file size.
04:02But I went too far and I degraded the background of the image.
04:05This black slider affects the Lossy compression applied to the background of the image.
04:10As you can see here in this diagram, the black slider represents the Lossy
04:15compression applied to the dark solid area,
04:17the white slider, the Lossy compression applied to the white area.
04:21So her,e with the black slider set to about 19, our image still looks good and we
04:26have managed a file savings.
04:28We could also try enabling All Text layers, but that doesn't seem to make a
04:32difference in this particular file.
04:33So I am going to say OK, and there is one more place where we can apply
04:37selective compression, and that is Dither.
04:39But in this particular file, Selective Dither doesn't seem to make much difference.
04:44So we won't bother changing that setting.
04:46So this is a technique that you can try when you have a file like this that
04:49has both continuous tone as well as lots of flat art and you are trying to optimize as GIF.
04:55You could save this file, save it on the Desktop, and open it to compare it
05:02to the PSD and it looks pretty good, and we have saved a great deal in terms of file size.
05:06In the next movie, I am going to talk briefly about the PNG format.
Collapse this transcript
Optimizing PNGs
00:00There is another file format, other than JPEG and GIF, that deserves
00:03mentioning, and that's PNG.
00:05Let's go into the Save for Web window with this image, dragonwell.psd, so we can
00:09take a look at how PNG works.
00:11I'll go to File, I'll go to Save for Web & Devices.
00:14In the Save for Web window, I am going to use my 2-Up tab.
00:18On the right, I will make sure that I've set the image to the GIF format, and
00:22I'm going to set Lossy to 0.
00:24I will set the number of Colors to 64.
00:28I will leave the Color Reduction palette at Perceptual and I will leave Dither at 0%,
00:35everything else is turned off.
00:37Now, I am going to click on the left side that currently shows the original image.
00:41You can also make this into an optimized preview.
00:43To do so, I am going to go to the Preset menu here, and I'm going to choose
00:47PNG 8 128 Dithered.
00:50These presets are just quick ways to get to certain combinations of
00:53optimization settings.
00:55And once you get there, you can adjust them to your liking.
00:58So with PNG 8 selected here, I am going to try to match the settings I
01:01have chosen for the GIF.
01:02So I will make the Color Reduction palette Perceptual.
01:05I will change the number of Colors here to 64.
01:07I will put Dither down to 0%, turn off Transparency, and now these settings
01:14match those for the GIF.
01:15The only real difference in the settings between the PNG 8 format and the GIF
01:20format are that PNG 8 doesn't offer a Lossy setting, but we turned that off in GIF anyway.
01:25Now let's compare the appearance and size of these two images.
01:29Appearance, they both look fine, look about the same to me.
01:32Let's look at the file sizes.
01:34The GIF is 9.441K and the PNG is smaller. It's only 7.548K.
01:41So the lesson is when you're optimizing an image that you would approach as a
01:45GIF, I suggest you also try it out as a PNG, because there are many times when
01:49the PNG will be smaller.
01:51Now that's if you choose PNG 8 from the Format menu.
01:54If you open the Format menu, you will see that there are two flavors of PNG.
01:57PNG 8, as we have seen, can be very useful to create small files out of
02:02illustrations, logos and other kinds of flat art.
02:06The attraction of PNG 24 for web developers is that it offers
02:09multi-level transparency.
02:11So if you were working with an object against a transparent background and you
02:15have given object an anti-aliased soft edge in Photoshop, the edge could retain
02:20that smoothness when saved in PNG 24 format and put up on the web, and that's
02:24not the case with GIF or PNG 8.
02:26We will talk more about creating transparent graphics that are GIFs in the next chapter.
02:32But for now what you need to know is that PNG 24 offers a new possibility of
02:36creating transparent graphics with smooth edges.
02:39However, there is always another side to the coin.
02:41And the other side to the PNG 24 coin is that not all web browsers understand
02:46and can display that kind of multilevel transparency.
02:49Although today the major web browsers can do so, including Internet Explorer 7,
02:54there is one big web browser that doesn't display can transparency and that's
02:58Internet Explorer 6 for Windows, which is still used by a majority of people.
03:03So if you need your transparent images to be uniform across web browsers, then
03:07PNG 24 may not be the best choice for you.
03:10Another thing to keep in mind about PNG 24 is that out of Photoshop, PNG 24 is
03:15often creating pretty large images.
03:17So if you're thinking about using PNG 24, use the Save for Web & Devices window
03:21and preview the file size.
03:23In the next chapter, we are going to take a closer look at this issue of
03:27transparency in images Save for the Web.
03:30I hope you will join me.
Collapse this transcript
8. Creating Web Backgrounds
Designing web backgrounds
00:00In this chapter, we are going to talk about background images.
00:03A background image is a single image that gets repeated over and over across the
00:08background of an HTML page. Here's an example.
00:11You can see the single leaf image open in Photoshop where it was created.
00:14We will call that a tile, and then in the larger part of this illustration,
00:19you can see that tile in a web browser repeated over and over as the background image.
00:24The advantage of using background images is that your viewers only have to
00:27download one image file and that image will repeat itself over and over
00:31automatically by virtue of the HTML code.
00:35If you're going to use this technique, there are some design considerations,
00:39which you should take into account when you're designing the tile.
00:42First of all, the fact that the tile repeats impacts how large you design it to be.
00:47The smaller a tile is the more times it will repeat.
00:50So here for example, we see a relatively large tile, and this is the pattern it
00:53will make when it repeats.
00:54Here is a medium-sized tile that repeats more times across the page.
01:00And finally, a small tile that repeats many more times.
01:04So plan ahead for how your repeating effect will look by sizing your Photoshop
01:08image to give you the effect that you want.
01:10I also suggest that you think about color choices as you design your tile.
01:15One thing you don't want to do is to choose colors that are too contrasty, one
01:19with the other, like those that you see here, because they will create a
01:22repeating background that's very distracting.
01:24And that takes the focus off the elements on the foreground, which are what the
01:28page is about, and it brings the viewer's eye to the background.
01:32Also, think about the lightness and darkness of your background.
01:36If you plan to put dark elements on top of the background, then make
01:40the background light.
01:41Don't try to put light elements on top of a light background because they'll disappear.
01:46And the opposite is true as well.
01:48If you plan to use light foreground elements, then create a dark background.
01:54Try to stay away from medium value backgrounds, because both light, dark and
01:58medium colors will all be hard to see on top of a medium value background.
02:03So those are some design considerations to take into account when you're
02:06creating your Photoshop file that's going to act as a tile across an HTML page.
02:11In the rest of this chapter, we will focus on other techniques that will help
02:15you to make some nice looking web page backgrounds.
Collapse this transcript
Defining and previewing
00:00In this movie, we're going to talk about how to set up an image in Photoshop
00:04to act as a background image and how to preview that image from Photoshop in a
00:08web browser to see how it will look when it's tiling over and over as an HTML page background.
00:14I'm using javaco_leaf.psd from the chapter 8 Exercise Files folder.
00:18With that file opened in Photoshop, I am going to go to the File menu at the top
00:22of the screen and I am going down to Save for Web & Devices.
00:26In the Save for Web window, I'll select the preview that I want to use, and
00:30let's just see how it looks before we tell Photoshop that we want it to be a
00:33repeating background tile.
00:34I'm going to go to the bottom of the Save for Web window and click on the
00:38Preview in Browser icon.
00:40Mine is set to Safari.
00:41Yours may be slightly different.
00:43If you don't have any browsers here, go back and listen to the movie on the Save
00:47for Web Interface where I explain how to set up the Preview in Browser.
00:51I am going to click that button and that opens my Safari web browser and you can
00:56see that this is now just a single image on a webpage.
00:59By the way, whenever you preview in browser from Photoshop, you also get this
01:03extra information about the image:
01:05the Format, Dimensions, Size, and your optimization settings here, as well as a
01:11small bit of HTML code on the page.
01:13I am going to close the web browser and now I'm going to tell Photoshop that I
01:19want that image not to show up one time on a webpage, but to repeat itself over
01:24and over across the webpage, no matter how big the browser gets.
01:28To do that, I'm going to go to this arrow on the right side of the Save for Web window.
01:32It's a little hard to find, so don't forget that it's there.
01:35I'll click the arrow and I'll choose Edit Output Settings from the menu that pops up.
01:41That opens this dialog box with all of the various output settings that you can change.
01:47I'm going to go to the second menu here, and I'm going to choose Background.
01:52In this box, we're going to tell Photoshop to display this document not as an
01:57image, a foreground image, but rather, as a repeating background image, by
02:01checking this box right here, View Document As > Background.
02:06Actually, there is a shortcut for this, but I wanted to show you what
02:08was happening here.
02:09The other thing you can do, rather than coming into this area, is to use that
02:13first menu at the top, and just choose Background Image and it will set the View
02:17Document As to Background.
02:19I'll click OK, and now let's preview our file again by going to the Preview in
02:24Browser icon at the bottom of the Save for Web window and clicking there to
02:28open the browser and show us this very same image repeating itself over and
02:32over as a background tile.
02:34In the next movie, we'll learn how to optimize and save out this image as a
02:38repeating background.
Collapse this transcript
Optimizing and saving
00:00After you've defined an image as a background, as we did in the last movie, you
00:04can optimize the image using the principles you've learned in the preceding
00:08chapter, and you can save the image along with HTML that includes instructions
00:13to repeat the file as a background.
00:15Let's see how that's done.
00:17With the javaco_leaf.psd still opened from the last movie, I'm going to go to
00:22File>Save for Web & Devices and in the Save for Web & Devices window, I am
00:28going to go over to the right-hand side and optimize the preview in the top-right pane.
00:32I'll leave it set to GIF and I'm going to reduce the number of colors.
00:35As I reduce the colors, keep your eye here on the file size and you'll see it decrease.
00:40There it goes. It's going down.
00:46At 8 colors, it's only 1.453 kilobytes.
00:54I don't like the way the file looks at 4 colors, so I will go back up to 8.
00:58I'll go to the Dither field, and I'll reduce the amount of Dither to 0 and see
01:02if that makes any difference to our file size.
01:04I didn't really see a change there.
01:06The image looks just as good.
01:07So we will leave it at that, and we're going to uncheck Transparency, because we
01:11don't have any transparency in this image.
01:13Now that we're done optimizing, I'm going to click the Save button.
01:16Before I do, just remember that you have already gone to this arrow, chosen Edit
01:21Output Settings and set this image as a background. Now click Save.
01:27I'm going to go to my Desktop and I'm going to save there.
01:31I'm going to make a new folder there to catch the results of this save.
01:34I'll call it 'javaco_bg' for background and click Create.
01:40It's important to go to the Format menu at the bottom of the screen, and make
01:43sure it's set to HTML and Images, because we want Photoshop not only to save
01:48out the optimized GIF file, the image file, but, in addition, an HTML file that
01:53contains the instructions that will make that image repeat across a webpage background.
01:58Now I'll click save, and I'm going to go out to my desktop to see what we have.
02:04There is my javaco_bg folder and if I double-click and look inside, I see that
02:09there's another folder called images, which Photoshop made for me.
02:12I will double-click that to open it, and there is my optimized image file.
02:16Let's open that in Photoshop.
02:24This is the GIF that we just optimized from Photoshop and over here is the original PSD.
02:31They compare pretty well.
02:32So now let's take a look at the HTML file that Photoshop made for us.
02:37I'm going back to my Finder and back one level, to look at javaco_leaf.html that
02:43was created by Photoshop.
02:45I'll double-click that HTML file to open it in my default web browser, and here
02:49it is, showing the image repeating over and over on the page.
02:53You can take that HTML file, along with the images folder containing the GIF, into
02:58a website building program, like Adobe Dreamweaver, and use it as the base for a
03:03page that you continue to build there.
03:05So that's the process for optimizing and saving a repeating page background
03:10from Photoshop CS3.
03:12In the next movies, we're going to learn some techniques for creating different
03:15effective background designs.
Collapse this transcript
Symmetrical backgrounds
00:00In the preceding movies in this chapter, we learned how web backgrounds work, we
00:04learned how to define and preview a repeating web tile, and then we learned how
00:08to optimize and save a repeating web background from Photoshop CS3.
00:13Now we're going to start using those skills to build some effective
00:16background designs.
00:17In this movie, we'll start by making a symmetrical background.
00:22I have javaco_leaf_small opened from the chapter 8 Exercise Files folder.
00:27This is going to be the pattern that we'll use on a repeating tile.
00:30Let's make a new file that will be the tile.
00:33We'll go to File and then New, and in the New dialog box, we'll give our tile a name.
00:39We'll call it 'leaf_bg' for background.
00:43In the Width and Height fields, I'm going to type 200, and I'll make sure that
00:49the units of measurement are set to pixels.
00:51It doesn't matter what's in the Resolution field, because, as I've mentioned
00:55before, our Width and Height are set in absolute numbers of pixels.
00:59So we can ignore the Resolution field, the Color mode, we make sure is set to
01:03RGB Color and the Bit Depth to 8 bit.
01:06Then we go to the Background Contents field and we'll choose White.
01:09I'll click OK, and here's our new tile.
01:14Let's add this small leaf to our tile.
01:17We'll go to the small leaf image and we'll click on its Title bar to make it
01:20active, and then we'll go to the Select menu at the top of the screen and choose All.
01:26Then we'll go to the Edit menu and choose Copy.
01:29With the leaf copied into the Clipboard, we'll move to the leaf_bg image and
01:34click its Title bar and then choose Edit>Paste.
01:38The leaf appears right in the middle of the new tile on its own layer, as we can
01:41see in the Layers panel.
01:43Let's name this layer by double- clicking the default name and we'll call this
01:46one 'four corners', and then click off the name.
01:50Now we're going to apply a filter to the selected four corners layer.
01:54We'll go up to the Filter menu and down to Other and over to Offset.
02:00In the Offset filter dialog box, first, we want to set the Undefined Areas to Wrap Around.
02:06Then we're going to type in a number for the Horizontal offset and for
02:11the Vertical offset.
02:12We'll type 100 for each.
02:18Right away, you can see in the image that we're starting to build this pattern.
02:23I'll click OK and now I want to add one more copy of this leaf.
02:27The leaf is still copied into my Clipboard.
02:29So all I have to do is come to the leaf_bg image and choose Edit>Paste.
02:35Again, I get the leaf in the center of the tile.
02:39In the Layers panel, there is yet another layer, and we'll give that one a name,
02:42double-clicking it, and calling it 'center', and then clicking off the name.
02:49Now let's open up the Save for Web window and define this as a
02:53repeating background.
02:56File>Save for Web & Devices, with the top-left preview selected, I'm going to go
03:03to the right side of the Save for Web window and click on the arrow there and go
03:07down to Edit Output Settings.
03:11In the Output Settings dialog box, I'm going to the second menu and
03:15choosing Background.
03:17Here, I'm going to change View Document As from Image to Background, telling
03:22Photoshop that we want it to treat this image as a repeating background tile,
03:27and then I'll click OK.
03:29Now, I'm going to preview the image by going to the Preview in Browser icon at
03:33the bottom of the Save for Web window and here you can see our new symmetrical
03:38repeating background pattern.
03:40As we learned before, when you do preview an image in Photoshop you get this
03:43additional information up at the top.
03:47This pattern will fill any web browser, no matter how big or how small the browser maybe.
03:54The beauty of this pattern is that the user only has to download one small image
03:59and they get an entire browser full with pattern.
04:01However, there are some things about this particular pattern that I would change.
04:05One of those things is that I think there is too much contrast between the beige
04:09of the leaf and the white of the background, so that if we tried to put text or
04:14foreground images on top of this, the background would compete with those
04:18foreground elements.
04:19I also think that we might be able to optimize this tile a little better to make
04:23the edges of the leaf a little smoother.
04:25We'll go in to the Save for Web window and see if we can do that.
04:28So let's close the browser.
04:30We're back to the Save for Web window and I am actually going to cancel this for now.
04:34Unfortunately, we have to go out of Save for Web to make changes directly to our
04:37image and then we'll come back.
04:39So, I'm going to click Cancel, and back in the leaf_bg tile image, I'm going to
04:44select the center layer and reduce its opacity from the Opacity field at the top
04:50of the Layers palette.
04:51I'm just going to move my mouse over the word Opacity and click-and-drag to the
04:54left until Opacity is down to maybe 25%.
04:58I like the way that looks in the image.
05:00So I'm going to do the same thing to the four corners layer by selecting it and
05:05then moving the Opacity slider to left, and I'll stop at about 25% there too.
05:10You can see that we have now changed our image.
05:13Now let's go back into Save for Web with these changes made, File>Save for Web &
05:19devices, and let's see if we can optimize this image a little bit better to get
05:24a smoother edge on the leaf pattern.
05:27Notice that the file only is 1k right now, which is really small, considering
05:31that it's going to fill the viewer's web browser.
05:33So I'm going to go over to Colors and I can spare a few more colors, I think, by
05:38clicking the arrow here and going to 16.
05:41Now, the leaf looks smoother and our tile is only 1.376k.
05:46So let's see how it looks now.
05:47We're going to go to the Preview in Browser icon again at the bottom of the Save
05:51for Web window, click and here is our modified pattern.
05:55With the Contrast dialed back and the edges of the pattern smoothed down, it's
05:59now ready to receive foreground images.
06:01So let's save our pattern from Photoshop.
06:04We'll close the browser.
06:06In the Save for Web & Devices window, we'll click Save, and we'll navigate to
06:10the Desktop where I'm going to make a new folder and I'll call this one
06:17'leaf_background', click Create.
06:22Make sure Format is set to both HTML and Images, so that Photoshop not only
06:26saves an optimized GIF for us, but also an HTML file with the code that will
06:31make that GIF tile repeat over and over as a webpage background.
06:36I'll click Save and I'm going to go out to the Desktop and there I'll find my
06:40leaf_background folder, inside of which is leaf_bg.html, and an images folder
06:45containing our leaf_bg optimized GIF.
06:49Let's open that HTML, and there is our webpage background.
06:54So that's how to make a symmetrical background in Photoshop CS3.
06:58Next up, we'll talk about how to make a seamless background from a photograph.
Collapse this transcript
Full-screen backgrounds
00:00Now that you know how to make a repeating pattern background, you may be
00:03thinking that you'd like to create a full screen background, but you have to
00:07remember that when you code an image as an HTML background it will always tile.
00:12So in order to make a full screen background that fills a user's entire web
00:16browser without appearing to repeat, you have to make an image that is bigger
00:20than the user's screen.
00:22The problem is that different users, of course, have their monitors set to
00:25different resolutions.
00:26You might have some people with their resolution set to 640x480, others at
00:31800x600, 1024x768, and many, these days, even higher.
00:36So your full screen page background just isn't going to look the same to all your viewers.
00:40For example, let's say you design your background for a 1024x768
00:45monitor resolution.
00:47A viewer with that monitor resolution will see the whole thing and it will look
00:50like a full screen background.
00:52But a viewer who has their monitor set to a smaller resolution will see only
00:56part of your full screen background design.
00:59And even a viewer monitor resolution is set to 1024x768, may have his browser
01:05window shrunk down, so he won't even see the whole thing.
01:08Even worse, at the other end of the spectrum is that if a viewer has a very, very
01:12big monitor, say a 30-inch cinema display with very high resolution and you've
01:16designed for 1024x768 monitor resolution, then, your allegedly full screen image
01:23is going to appear to tile on that viewer's monitor.
01:26That can look really bad, because it will give you results you didn't expect.
01:29So what is the solution to handling all of these different situations?
01:33First, do some market research and try to figure out the maximum monitor
01:37resolution at which your particular audience is likely to see your website, and
01:42then design for that monitor resolution.
01:44So if you think most of your viewers have 1024x768, then make your full screen
01:49background at least at that size and maybe a little bigger.
01:52Then check out how your background is going to look on lower resolution
01:56monitors, or to a viewer on a large monitor who may have just shrunk his browser window.
02:02And we've made a tool that you can use to do some of that work.
02:05If you go into the Chapter 8 folder, open up browser_sizes.psd, get your
02:14Move tool and click on the image leaves.psd, which should also be opened from that folder.
02:22Select the top layer of leaves.psd and then click on browser_sizes.psd to
02:28activate that image.
02:29With the Move tool selected, hold down the Shift key and click in
02:33browser_sizes.psd and drag into leaves.psd.
02:37When you see that light gray border, you can release your mouse.
02:40Holding the Shift key as you do that causes the browser image to drop directly
02:44in the center of the leaf's, image making it all line up properly.
02:48I'm now going to close browser_sizes. psd, and look in my Layers panel for
02:54leaves.psd, and you'll see there's a new layer there, screen resolutions.
02:58This contains a transparent layer with the lines that you see here and
03:03the indicated sizes.
03:05If you add this layer to any image that you make, it will show you how much
03:09of that image can be seen by someone whose monitor is set to 640x480,
03:14800x600, or 1024x768.
03:18So in other words, a viewer whose monitor is set to 640x480, will see just this
03:24part of this particular background.
03:26That may not be what you intended.
03:29If we open it up a little more, someone with an 800x600 monitor will see
03:33this much of the background, and someone with 1024x768 will see the whole
03:38thing, in this case.
03:40So you have to be happy with all of these results or you need to redesign your background.
03:45Let's go through the process of optimizing this background and seeing how
03:49it looks in a browser.
03:50First, we're going to turn off the screen resolutions layer by clicking the Eye
03:54icon to the left of that layer.
03:56Now, we'll go to File, and we'll go down to Save for Web & Devices.
04:02In the Save for Web window, I'm going to change the Format from JPEG to GIF,
04:07because this is flat art, and already we can see the edge of the image looks
04:10better in the preview.
04:11We probably can reduce the number of colors here.
04:14I'm going to go to the Colors field and I'll see how the colors look at 8.
04:18The file is still a little big for my taste at 7.479K, so let's make this even smaller.
04:23We'll make it 4 colors.
04:25It doesn't look too bad, and our background is now 5.932k.
04:31Now let's set this as the background image by clicking the arrow on the right
04:34side of the Save for Web window, going down to Edit Output Settings. As we've
04:38done in earlier movies,
04:39we're going to click on the second menu here, choose Background, and we're
04:44going to view document as Background to tell Photoshop that we want this to be
04:48a background image. Then we'll say OK.
04:51Then let's go ahead and save our image by clicking the Save button.
04:55I'm going to navigate to my Desktop.
04:57There on the Desktop, I'm going to save HTML and Images.
05:01I'll make a new folder.
05:03I'll call this 'full_background' and I'll click Create, and Save.
05:12Let's go out and see what's on our Desktop.
05:14Here is our full_background folder and if I open that up, I see my HTML saved
05:20from Photoshop, and my images folder with the full screen leaves.gif background.
05:26Let's open that HTML.
05:29Here it is in a browser.
05:30Now I happen to have my browser running on a monitor set to 1024x768, so I can
05:37see this entire design.
05:38But if I had my monitor set to a smaller resolution or if I just shrunk my
05:42monitor like this, this is all I would see as the webpage background.
05:46So you, the designer, have to be happy with the way your background looks at
05:50various sizes in order to be satisfied with making a full screen background.
05:56Please do feel free to make use of the browser_size.psd that we've given you to
06:00see how your backgrounds will look to viewers with various monitor resolutions.
Collapse this transcript
Using directional tiles
00:00In this movie, we're going to take what we learned about creating
00:03repeating backgrounds and use that information to make something fun, a
00:07striped background.
00:08We started by just drawing this very thin strip and adding to it some blocks of
00:13color and a few of these little spikes and a couple of little dots over here and
00:17we are going to take this very small file and allow it to repeat so that it
00:21appears to be a full-striped background.
00:24Let's go to the File menu and choose Save for Web and Devices.
00:29In the Save for Web and Devices window, we'll go to the arrow on the right side
00:33and choose Edit Output Settings, and go to the second menu, choose Background
00:38and will set this image to be viewed not as a foreground image but as a
00:41repeating background.
00:42And then we will click OK.
00:45Let's Preview this in a Web Browser and see what it does.
00:48There it is, vertical stripes, all made from that one very thin strip and
00:53repeated over-and-over to give you the illusion of stripes.
00:56Let's see if we can turn these stripes on their side and make
00:59horizontal stripes.
01:00I am going to close the Web Browser and click in Save for Web and Devices,
01:05cancel there as well.
01:08Back in Photoshop, I am going to go to the Image menu and down to Rotate Canvas.
01:12We'll rotate this 90 degrees clockwise.
01:15Now that our file is rotated, we will go back to Save for Web, again, we will click
01:21on the arrow on the right side and we will go down to Edit Output Settings, we
01:25will click on the second menu as we did before and again choose background.
01:29Again, we have to set the document to be viewed as a background and we'll say OK.
01:35This time, instead of previewing, let's just go ahead and save.
01:38So I will click the Save button and I'm going to navigate to my desktop where I
01:42am going to make a new folder, which I'll call stripes, and I'll say Create.
01:47Here in the Format field I want to be sure that I've chosen HTML and images so
01:52that Photoshop not only saves out the optimized GIF image but also an HTML file
01:57with instructions for repeating the GIF over and over as a background.
02:00So we'll click Save there.
02:03Now, let's go and see what we have on our desktop.
02:06Here is the stripes folder and if I double-click it, inside I see an images
02:10subfolder created by Photoshop with stripes.gif, the optimized image file.
02:17Let's open this HTML file and we should see our new horizontal stripes.
02:23Take this idea and play with it, and see what kind of stripes you can create
02:27using repeating backgrounds from Photoshop CS 3's Save for Web window.
Collapse this transcript
9. Creating Navigation
Horizontal navigation bars
00:00Among the most important web graphics you can make are the navigation elements
00:04of a page, like buttons and navigation bars, because they determine whether a
00:09visitor is going to be able to make his way around your side.
00:11In this chapter, we are going to focus on how to create different kinds of
00:15navigation elements.
00:16We will focus on using the Shape and the Type tools to create elements of
00:20navigation like buttons and navigation bars.
00:23In a later chapter on Rollovers, we will talk about how to create graphics for
00:26different states of navigation buttons, and how to save those out as separate
00:30images to be programmed in a separate program like Dreamweaver.
00:34Now that ImageReady no longer ships with Photoshop, you do need to use a
00:38separate program to program working rollovers, but Photoshop remains a terrific
00:44program in which to create the artwork for your navigation elements.
00:48So let's get started doing that.
00:49We are going to start by going to the Toolbox and selecting this tool, the
00:55Rectangle tool, which is one of a set of Shape tools.
00:58We will go into the Document window and we will click and drag out a horizontal bar.
01:04When I release the mouse, the bar fills automatically with color.
01:08If you don't like the color that you have, don't worry, because we will learn
01:11how to change that in just a minute.
01:12By the way, you can be working in a blank document, if you wish, or if you have
01:16access to the Exercise Files, open horizontal_nav_bar.psd from the chapter09
01:22Exercise Files folder.
01:23Let's go over to the Layers panel and see what we have created here.
01:27We now have a special shape layer in our Layers Stack.
01:31Notice that the Shape layer has two thumbnails on it.
01:35These represent the two components of this special kind of a shape layer.
01:38The thumbnail on the right is a Vector Mask.
01:41It contains a path that outlines the shape and it's responsible for what the
01:46actual shape looks like.
01:48On the left is another thumbnail that represents a Color Fill on this layer.
01:52You might think of these two components as an object in a coloring book with the
01:57Vector Mask being like the thick outline around an object and the Color Fill
02:02being analogous to the color you use to fill in the coloring book object.
02:06Between the two components we have a link which links them together if you
02:10happen to move the object, there are a few times when you may want to unlink
02:14these two components.
02:15For example, if you were making an animation and instead of a solid color, you
02:19had a pattern and you wanted to show it moving around inside of Vector Mask.
02:24In that case, you could click the link and that would unlink these two
02:27components, but I am going to click there again to relink, and that's how we
02:31usually use a Shape layer.
02:32One of the nice things about Shape layers is how easy it is to change the
02:36color of a shape layer.
02:38Let's change the color of this Horizontal Navigation Bar by double-clicking the
02:42icon on the left side of the Shape 1 layer.
02:46That opens the Color Picker. Notice that my Color Picker is set to Only Web Colors.
02:51Even though I don't technically have to limit myself to web colors, I like doing
02:55this because it limits the number of colors available, making it easier to choose
02:59colors that go together.
03:00So I am going to click on this light-gray -blue and click OK, and notice that the
03:05Navigation Bar has immediately changed color.
03:08When you are working with a Shape layer, you don't have to make a selection and
03:11then fill a selection with color, as you do on a pixel-based layer.
03:14Now let's line up this Navigation Bar with the logo layer.
03:18Earlier, I turned on Smart Guides from the View>Show menu.
03:21So I am just going to get my Move tool, and with the Shape 1 layer selected in
03:27the Layers panel, I am going to click-and -drag until I see that pink smart guide
03:32telling me that I have lined up the right edges of these two elements.
03:36Now I am going to create some Text buttons.
03:39Before you do this, if you are following along, make sure that your Vector Mask
03:43is not highlighted like this on the Shape 1 layer.
03:46If it is, click it to de-highlight it.
03:49That will help to separate the type layers you are about to add from the Shape layer.
03:54Go to the Toolbox and select the Horizontal Type tool.
03:58I have already set up the options for my Type tool here in the Options Bar.
04:02I have Arial as the Font family, Regular as the Font Style, I typed 15 points
04:08into the Font Size Field and I chose Smooth as the Anti-aliasing method.
04:14And I chose for color of the type the same blue that we have here in the JAVACO
04:18tea logo, opening the Color Picker from that color field and then using the
04:22Eyedropper to select that same blue.
04:25Now I am going to type my first button. I am going to come in, and it doesn't
04:28really matter where I am here, because I am going to readjust the location of
04:32all these buttons in a moment.
04:34I am going to type the first button, products, and then as with any Type layer,
04:38I am going up to the Tool Options Bar and clicking that checkmark to commit the Type edit.
04:43Then I can come in and make another button. We'll call this one 'about us',
04:49and click the big checkmark, and then I'll make another button. This will be 'our stores'.
04:56Click the checkmark and make another button 'contact us' and click the checkmark.
05:04Now we will see how easy it is to automatically align these buttons. With the
05:07contact us layer selected in the Layers panel, I am going to hold down the
05:11Shift key and select the products layer as well and that selects all four of the button layers.
05:17Then I am going to make sure I have the Move tool selected in the Toolbox and I
05:22am going to go up to the Options Bar and I am going to click this very first
05:25icon there, which will align the selected elements by their top edges.
05:29Keep your eye on the document and you will see that all four buttons are now
05:33aligned by their tops.
05:35Now I also want to change the spacing between these buttons, so that there is
05:39equal amount of space between each button.
05:42I can do that automatically too.
05:44With the four button layers selected in the Layers panel, in the Move Tool
05:48Options Bar I am going to click this button, Distribute Horizontal Centers.
05:52Keep your eye on the buttons and you'll see them move so that we now have equal
05:57space between each button.
05:58Now let's add the Shape layer to our mix of selected layers by holding the
06:03Command key on a Mac, or the Ctrl key on a PC.
06:06And one more time, I am going to up to the Move Tool options and I am going to
06:10click on Align Vertical Centers and if you keep your eye on the buttons,
06:15you'll see that they have now all moved to the center of that Horizontal Navigation Bar.
06:20The last alignment I am going to do manually.
06:22I am going to move all four buttons over to the right a bit.
06:26First, I am going to the Layers panel and I am going to hold the Command key on a
06:29Mac, or the Ctrl key on a PC, click on the Shape 1 layer to remove it from the
06:34group of selected layers.
06:36Then I am going to just use the Right Arrow key on my keyboard with the Move
06:40Tool selected, to nudge those four buttons over until they look like they are in
06:45the right place to me.
06:46So that's how you align items automatically.
06:48You don't have to spend a lot of time lining things up or always using guides.
06:52You may be wondering why we took the trouble to put each button on a separate layer.
06:56That's so that we will have the flexibility to make changes to each button separately.
07:00That will really come in handy if we are going to make rollovers out of each one
07:04of these buttons and we will have to treat each button separately as we will
07:07learn to do in the rollovers chapter.
07:09You could leave your horizontal_nav_bar as it is, or you could embellish it like this.
07:13I am going to select the Type tool in the Toolbox and I am going to come in and
07:18click in between two of the buttons.
07:20Then I am going to type a pipe.
07:22To do that I am going to hold down the Shift key and press the Backslash key on
07:27the right side of my keyboard, and then I'll go up to the Options Bar and I
07:31will commit that edit.
07:32You can see that pipe here in the Navigation Bar.
07:35I am going to do that twice more by clicking between the next to Type buttons,
07:39holding the Shift key, pressing the Backslash key, and pressing the checkmark.
07:46And I'll do it one more time, clicking between the last two buttons, holding the
07:49Shift key, backslash, click the checkmark.
07:53I can change the color of all three of those pieces of type by going into the
07:58Layers panel, holding down my Shift key and clicking on the bottom of the three
08:04pipe type layers to select them all, and then I can go up to the Type tool
08:09Options Bar and click in the Color field to open the Color Picker.
08:14I will choose a light-blue and I'll say OK.
08:16One of the nice things about Type layers, as we just saw, is that you can change
08:20the characteristics of multiple type layers at one time.
08:24Next, I am going to make sure that all of these layers are properly aligned.
08:28I am going to make my Layers panel a bit bigger, so we can see all the layers here.
08:31I am dragging on the bottom-right corner of the Layers panel to do that, and
08:36then I am going to hold my Shift key as I click on the bottom-most type layer,
08:39the Products layer, and I am going to go and select the Move tool again, and
08:43once more, I am going to align by top edges.
08:46Then again, I am going to take the Shape layer and add it to my collection of
08:50selected layers by holding the Command key on a Mac, or the Ctrl key on a PC, and
08:56I am going to go back up to the Move Tool Options Bar and click Align Vertical
09:00Centers, and that gets everything lined up just right.
09:04So that's how easy it is to use the automatic features in Photoshop CS3 to
09:09create a Horizontal Navigation Bar.
09:11In the next movie, we are going to see how to create some elliptical buttons.
Collapse this transcript
Elliptical buttons
00:02In this movie, we're going to talk about how to make an Elliptical button, like
00:06the one that you see right here that says 'products'.
00:09If you are working along with me, open elliptical_button.psd. Let's take a
00:13look at this button and see how it's constructed and then we'll make one of
00:16our own just like it.
00:17Notice that there is a Shape layer here in the Layers panel.
00:20I'll turn that off and then on, so you can see that it contains just the button.
00:24On that Shape layer, we have some effects. These are Layer Styles.
00:29We having an Inner Shadow and if I turn that off you can see that it gives that
00:33dark look to the outside of the button and then we have a Bevel and Emboss, which
00:38brings the button up off the page.
00:40Finally, we have a Type layer up here that has the text for the button on it.
00:45So let's delete the Shape layer with its effects and the Text layer and we'll
00:49create this button from scratch.
00:53In the Toolbox I am going to press-and- hold on the Rectangle tool and choose the
00:57Ellipse tool from this family of Shape tools.
01:00I'll go into the image and I am going to drag out a button.
01:04It comes in black because that's the color selected here in the Ellipse Tool Options Bar.
01:09I'd like to change that color, so I'm going to go to the Layers panel
01:12double-click on the left- hand icon on the Shape 1 layer.
01:17That opens the Color Picker, and then I can just move my mouse over the logo in
01:22the image to sample that green.
01:24I'll click OK in the Color Picker, and we have now changed the color of the button.
01:28Now we'll add some Layer Styles to this button to give it some dimensionality.
01:31Before we do, let me tell you how to make this blue outline around the button
01:36invisible because it really can get in your way and keep you from really
01:39seeing how a shape looks.
01:41I am going to press the Command key on a Mac, or the Ctrl key on a PC plus H, and
01:47that makes that Vector outline around the button invisible.
01:51Now with the Shape layer selected, I'm going to go to the fx button, this is
01:55the Layer Styles button at the bottom of the Layers panel, and I'm going to
01:59choose Bevel and Emboss.
02:02As you can see, Bevel and Emboss is checked, meaning it's been applied to this
02:06layer and it's also highlighted so that we have our options for the Bevel and
02:10Emboss layer style over here in the right.
02:12We have lots of options here.
02:14You can experiment with some of them when you have time.
02:17I'm going to just come in and modify the Soften slider here to give the Bevel on
02:22that button a little more softness, so it's not as harsh right at the edges,
02:26makes the button look a little bit rounder.
02:28Now I am going to add another layer style.
02:30I can do that from right here in the Open Layer Style dialog box.
02:33I will go over to the left side and I'm going to check Inner Shadow and then I'm
02:37going to click on the words Inner Shadow to change the options on the right-hand
02:42side of the Layer Style dialog box to those for the Inner Shadow.
02:45Here we have different options. One of the things that we can do is to change
02:49the color of the Inner Shadow.
02:50And I do want to do that because I don't want the Inner Shadow to be black.
02:54It should be more of a green to match the button.
02:57So I'll click in the Color field in the Inner Shadow Options, and in the Color
03:02Picker that opens, I am going to choose a dark-green and I'll click OK.
03:06I am also going to change the size of that Inner Shadow, increasing it to make it
03:11softer, maybe about there, 16, and I'm also going to increase the Choke to
03:18further soften it, make it about 5 and I am going to lower the Opacity of that
03:23Inner Shadow so that it's not quite as obvious.
03:25I think it looks good right about there. And that gives some dimensionality to
03:31our otherwise flat button.
03:32I am going to click OK and now we are going to add some text to this button.
03:37To do that, I am first going to make sure that I don't have the Vector Mask
03:41thumbnail on the Shape layer selected.
03:43So I want to click there, so that that border around the Vector Mask goes away,
03:47and now I can add a Type layer on top of the button.
03:50I'll click the Horizontal Type tool and I'm going to check my options up here.
03:54We'll try them with Arial, Regular 15 point, Smooth Anti-aliasing, and
04:00this dark-blue color.
04:01I'll click in the button and I'll type 'products', and then I'll go to the Options
04:08Bar and click the checkmark to commit that type.
04:11With the products layer selected in the Layers panel, I am going to get my
04:15Move tool and just click-and-drag that text into place into the center of the button.
04:20So that's how you use the Shape tools and the Type tool to create a
04:24single Elliptical button.
04:25In the next movie, I am going to show you how to use Smart Objects to duplicate
04:29and change multiple buttons like this one.
Collapse this transcript
Smart Object buttons
00:00In Photoshop CS3, you can use Smart Objects to make matching buttons and then be
00:07able to go back in and change any one of the buttons, and the changes you make
00:11will ripple through and effect all of your matching buttons.
00:14Let's see how that's done.
00:16We are going to start by double- clicking the Shape 1 name on the Shape layer,
00:20and naming this layer 'products'.
00:21Then we are going to turn this layer into a Smart Object.
00:27I am going to the top of the Layers panel, I am clicking the Layers panel
00:31menu icon there and from the pop-up menu, I'm going to choose Convert to Smart Object.
00:37All of our layer effects seem to have disappeared from this layer, but they are
00:40still there and we will access them in just a moment and change them.
00:43But first, let's duplicate this Smart Object button.
00:47I am going to drag the products layer to the bottom of the Layers panel to
00:50the New layer icon. That makes a copy.
00:53I am going to rename that copy 'about' and then click off the name.
00:58Then I am going to get my Move tool, and click-and-drag the new button from on
01:03top of the old one over to the left, and now let's make a copy of that about
01:09button by dragging it to the New layer icon.
01:11We will name this button 'stores', click off it, and drag that over to the right
01:18and I am using my Smart Objects to align these buttons.
01:21And now I will copy the stores button the same way by dragging it to the
01:24New layer icon, give that new button a name, we will call this one 'contact',
01:30and click off that name and with the Move tool, move our new button over to the right.
01:36We can space these buttons out so there is equal space between all buttons by
01:40selecting all four layers. I've selected the contact layer, and now I am
01:44Shift+Clicking on the products layer to select the four Smart Object layers.
01:49Then in the Move tool Options bar, I am going to click the Distribute Horizontal
01:53Centers button here.
01:54So now we have four buttons.
01:56Let's say that our client wants to change the color and the shape of the buttons.
02:02Because we used Smart Objects, we only have to go in and change one button and
02:06they all will change.
02:07So here is how that works.
02:08I am going to double-click on a Thumbnail on one of these Smart Object layers.
02:12It doesn't matter which of the layers you click on.
02:14I will click on the products layer here, and at the message I will click OK, and
02:22that opens products.psb.
02:26This is where the original layer data is located, and now when you look in the
02:31Layers panel you can see that we do have our Layer Styles still applied to this
02:35button, and we also have the icons for the Shape layer.
02:38Let's change the color of our buttons.
02:39I am going to double-click on the left icon on the Shape layer to do that.
02:44That opens the Color Picker, and I can choose a different color here.
02:47Maybe I will choose a lavender, and I will click OK.
02:55And let's say I also want to change one of the Layer Styles.
02:58For example, I really don't like the color of this green inner shadow on the purple button.
03:03So I am going to double-click the Inner Shadow Layer Style to open the layer
03:07Style dialog box and in the Inner Shadow options here, I am going to click on
03:12the color field to open the Color Picker for our Layer Style.
03:17And here, I am going to go into the Lavender options, and I will choose Dark
03:22Lavender as my shadow, and then I'll click OK, and I will click OK in the layer
03:26Style dialog box, and the color isn't the only thing that we can change.
03:29For example, we could also change the shape of the button.
03:34Because it's a vector-based shape, we can simply go to the toolbox and
03:39select the Direct Selection tool, and then click on the edge of this shape
03:44to select its path.
03:45I can then move any of these Bezi?r handles to change the shape of the button.
03:50I can make it something like this.
03:57Now, I'm going to close and save products.psb and we'll see all of the buttons
04:04automatically update with these changes.
04:06I will click the Red button to close.
04:09I will click Save, and there we go, we have changed all our buttons at once.
04:14All that's left to do is to put Type on all of these buttons.
04:17Unfortunately, we can't use Smart Objects to do that, because each button needs
04:22a different piece of text.
04:23I am going to go to my products Type layer, and I'm going to get my Move tool
04:28and I am going to move products a little bit on that button.
04:31Now it's easier to see.
04:32Then I am going to double-click on the T icon on the products layer to select
04:37the word 'products', and I'm going to go up to the Type tool Options bar, and
04:41change the color of that type, so we can see it better.
04:44We will make it white.
04:46Now what we are going to do is to take the products Type layer and duplicate it,
04:51by dragging it to the bottom of the Layers panel to the New layer icon, and with
04:56that products Copy Type layer selected, I am going to get my Move tool and move
05:01the piece of text over onto the second button, and I'll use Smart Guides to line
05:05it up, and then I am going to double- click the T icon on the products Copy layer to
05:11select that piece of type, and I'll change it.
05:14I will type 'about us', and I will click the big checkmark in the Options bar
05:20to commit that edit.
05:21I am going to repeat this for the last two buttons.
05:24Dragging the about us layer to the New layer icon at the bottom of the layers
05:27panel, with the Move tool, moving that piece of text over to the third button,
05:33double-clicking the T icon on our new type layer and changing the text to 'our
05:40stores', clicking the checkmark, I see that I have to move our stores over just a bit.
05:46And then I will copy our stores by dragging its layer to the New layer icon,
05:52and I'll take my Move tool and I will move that bit of text over onto the fourth button.
05:56I will double-click the T icon on the New Type layer, and I will type instead
06:01contact us, and click the checkmark.
06:06using a Smart Object allows you to make a change to one button, and have it
06:10affect all of your buttons, so that you get a perfectly matching set and you
06:14save yourself some time.
Collapse this transcript
Pill-shaped buttons
00:00Now that you know about Shape layers, let's use some more advanced features,
00:04along with Shape layers, to make the buttons that you see here, the Back and the
00:09Next button with their unusual cutout areas.
00:13I am going to get my Move tool and just move those down, and let's see if we can
00:17make a similar button above them.
00:18We will start in the Toolbox, selecting the Rounded Rectangle tool from
00:24the Shape tool slot.
00:25I am going to draw a button here, using this Rounded Rectangle tool.
00:31I am going to click on the Vector Mask to make the blue path invisible for a
00:37moment so that you can see that this rounded rectangle is really more
00:41rectangular than it is round.
00:44We want it more of a pill-shaped.
00:46So we are going to try again.
00:48Let's delete this Shape layer by dragging it to the Layer Trash and this time,
00:53with the Rounded Rectangle tool selected, I am going to go up to the Radius
00:57field, in the Tool Options Bar, and I am going to increase the rounded nature of
01:01the corners of this shape.
01:03I will drag to the right, and I might go as high as 35 pixels.
01:08Now, I am going to come back and try drawing that button again.
01:11I will click on the Vector Mask, so you can see that we now have more of the
01:18type of pill-shaped button that we were after.
01:21I will click back on the Vector Mask to turn the path back on, and now I want to
01:25show you how you can use a rectangle shape to cut out parts of this rounded
01:30rectangle and to create another kind of shape.
01:33To do that, we are going back to the Toolbox, and I am going to select
01:37the Rectangle tool.
01:38Then I am going to go out to the Options Bar, and I am going to click on this
01:41third icon from the left, the Subtract From icon.
01:45I will come back to my button, and I am going to draw a shape here, a
01:50rectangle, that I am going to use as a sort of a knife to cut away part of the original button.
01:56Here you see the rectangular path I just drew, and the path of the part of the
02:01button that I am trying to cut away.
02:03To cut that away, I am going to go back to the Toolbox and I am going to select
02:07the Path Selection tool.
02:08That makes available this Combine button in the Tool Options Bar.
02:13When I click this Combine button, half of our button is cut away.
02:17Let's use the same principles to create these cutout stripes in our brown button.
02:22I will select the Rectangle tool again in the Toolbox.
02:26Then I am going to come over to my button, and I am going to click-and-drag a
02:30narrow rectangle here.
02:31I will get my Path Selection tool and I will click on that rectangle, and I am
02:36going to use the Arrow keys on my keyboard to move that shape over just a bit to right there.
02:44Now I want to make another rectangle shape that's just like this one, so I will
02:48just copy the one I just made.
02:50To do that, I am going to hold down the Option key on a Mac, or the Alt key on
02:54a PC, and with the Path Selection tool, I am going to drag to the right, and that makes a copy.
03:00I will put it right there and now I want to have both of these narrow
03:06rectangles selected.
03:07So with the Path Selection tool I am going to hold down the Shift key, click on
03:12the other narrow rectangle.
03:14Now that I have got them both selected, I am going to go up to the Tool
03:18Options Bar and click Combine, and that has cut out parts of our original pill-shaped button.
03:25So now we have the right half of this button all completed, we could go through
03:29the same process to create the left half of the button,
03:32but an easier way is to simply duplicate what we already have.
03:36So I am going to go to the Shape layer and drag it down to the New layer icon at
03:40the bottom of the Layers panel.
03:41That makes a copy. I am then going to get my Move tool, and drag the copy over to the left.
03:46The Smart Guides are helping me to align that copy.
03:52Now with the Copy selected, I am going to flip it horizontally by going to the
03:56Edit menu, down to Transform Path, and down to Flip Horizontal.
04:01I will click on that Vector Mask so you can see that we have recreated that
04:06original button, and now all that's left to do is to add some text labels.
04:11For that, I will go get the Horizontal Type tool in the Toolbox, and I am
04:15going to use the Tool Options that you see here, Arial, Regular, 14 pt, with
04:20Strong anti-aliasing.
04:21I am going to need a darker color for the type.
04:25So I will click in the color box, and I am going to select this dark brown, and say OK.
04:30Now I will just click on the right side of the button, and type 'Next'.
04:34I will click the checkmark in the Tool Options Bar to commit that type, and I
04:39will go over to the left side of the button, and I will click Back.
04:43Again, I will click the checkmark in the Tool Options Bar and last, I want to
04:48lineup those two pieces of text by Shift +Clicking the Back and Next type layers
04:53in the Layers panel, and then getting my Move tool, and using one of the
04:58alignment options here.
05:00I will try the Align by Bottom Edge option.
05:02Finally, I might use the Arrow keys on my keyboard to just move that text over a bit.
05:07So that's how you can use some of the more advanced functions that are available
05:10with Shape layers to create an unusual navigation button like this one.
Collapse this transcript
Tabbed navigation bars
00:00In this movie, we are going to take a look at how to create a tabbed
00:03navigation bar like this one.
00:05The trick here isn't so much dragging out the shapes,
00:07we have already learned how to do that in previous movies, the real trick is
00:11setting up the spacing and alignment correctly.
00:13We will be using Photoshop's Guides and Rulers to help with that.
00:17Here is what the Guides will look like when we are finished setting them up.
00:21As you can see, it's a pretty complex system of Guides, and it doesn't just happen.
00:25The way to really do this is to sit down before you turn on Photoshop with a
00:29pencil and paper and figure out how much space you have, how much space you want
00:34your tabs to take up, and how much space you want between them.
00:38Let's get started setting up some guides of our own.
00:40If you're working along with me, open tab_nav_bar.psd from the Chapter 09
00:45Exercise Files folder.
00:47In this image, we started setting up some Guides for you, and we are going to
00:50finish the process here together.
00:52If you don't see the Guides on your file that you see here, then go to the View
00:57menu, and go down to Show, and over to Guides.
01:01The shortcut for showing and hiding Guides is Command+Semicolon, or
01:05Ctrl+Semicolon on a PC.
01:08These Guides are a little hard to see because they are cyan against a
01:12partially cyan background.
01:14You can change the color of Guides from the Photoshop Preferences.
01:17On a Mac, Photoshop Preferences are under the Photoshop menu, on a PC, they are
01:21under the Edit menu.
01:23Go there, down to Preferences, and then down to Guides, Grids, Slices & Count,
01:29and in the Guides section, change the color from Cyan to another color, like
01:33green, and click OK.
01:36Now, it's a bit easier to see the Guides.
01:38Before you start dragging out Guides, you are going to want to have your
01:41Rulers on in Photoshop.
01:42To turn on Rulers, go to the View menu, and go down to Rulers.
01:47By default, Photoshop's Rulers measure in inches.
01:50When you are developing for the web, you want your Rulers to be measuring
01:54in pixels, not inches.
01:55A quick way to change Photoshop's Rulers to pixels is to, on the Mac, hold down
02:00the Control key and clicking either one of the Rulers, or on the PC, right-click
02:05in either one of the rulers like this.
02:07And then you can choose Pixels from the pop-up menu and that changes both Rulers.
02:12Alternatively, you can go into Photoshop's Preferences.
02:15So here on a Mac, I am going to Photoshop Preferences, and Units & Rulers, and
02:20you can see here where you can set the default unit of measurement for rulers.
02:26Now, let's get started setting up the rest of the Guides for the tabs that we
02:31will be creating in this file.
02:34Let's start with the Horizontal Guides.
02:36As you can see, we have one Guide already, and if you move over to the left, you
02:40can see that that Guide is set to 150 pixels.
02:43Let's create another Guide by going to the Ruler at the top of the screen,
02:47clicking and dragging down, and dragging the second Guide to the 140 mark on the left ruler.
02:54We will drag out one more Guide from the top ruler, and we will put this one at
02:5895 pixels, and let's do fourth one at 105 pixels.
03:03Now, we are going to add some additional vertical Guides here.
03:06These we will pull out from the vertical ruler on the left.
03:10So click there and then pull out a Guide, and drag it to 550 pixels, measured on
03:16the ruler at the top, up here.
03:18We will do another Guide at 560 pixels, another at 580 pixels, another at 590,
03:30670, 680 and our last vertical Guide at 715.
03:46Now, let's draw a line that will be underneath all of our tabs.
03:49We will select a color for the line by clicking with the Eyedropper tool in the
03:54Smoke Curl, and opening the foreground color box and choosing a color that's
03:59just a little bit darker than the Smoke Curl, and clicking OK.
04:05Now, I am going to go to the Shape tools, and choose the Line tool.
04:10In the Options bar, I will make sure that the Weight of the Line tool is set to
04:1310 pixels, which is just the width between these two Guides.
04:17I am going to come to the second Guide, and click-and-drag all the way over to
04:23the last Guide and I want to make sure there are no bumps in this shape that I
04:27am drawing, that it's all smooth, and when I release my mouse, I have this line.
04:33I am going to grab my Move tool from the Toolbox, and then use the Arrow keys on
04:38my keyboard to move the line down inside of its Guides and when I see this pink
04:42border around it, which is the Smart Guides, I know that it's in place.
04:46Now I want to add some tabs on the same layer as the line.
04:50So I am going to go to the Toolbox again and select the Rounded Rectangle tool.
04:55To ensure that these are on the same layer as the line, I will go up to the
04:59Options Bar, and I will click on the Add To icon.
05:02I'm also going to check that the Radius is set to 15 pixels, which is just about
05:07right for the amount of roundness that I want on the corners of these tabs.
05:11Now, I am going to come in and draw my first tab, putting my cursor where you
05:15see it here on the screen at this intersection of Guides.
05:19I'll click and I will drag until I reach the Guides at the other side of the first tab.
05:25And as you can see, my Smart Guides are showing at the top and sides of this tab.
05:31That means I'm exactly where I want to be, and I will release the mouse.
05:36Now it doesn't matter how long the shape is beneath the line, because we are
05:39going to cut that off.
05:40Let's draw another tab starting at this intersection, and dragging over to there.
05:48I see my Smart Guides and I can release my mouse, and I will do that at this
05:52intersection, making yet another tab.
05:55Again, it doesn't matter how long it is and here is my fourth tab.
06:00So as you can see, it was worth setting up all those Guides to make it so
06:06easy to draw the tabs.
06:07Now, I want to cut off the area here at the bottom.
06:10To do that, I am going to go back to the Options bar and I'm going to click the
06:14Subtract From icon, and then I am just going to come and drag a shape that
06:21covers only the bottoms of the tabs, and I will release by mouse.
06:26Then I'm going to get the Black Arrow tool, the Path Selection tool, which
06:31offers me a Combine button in the Options bar.
06:34I am going to click that Combine button, and I have now cut off the bottom of the tabs.
06:40If you want to see how this looks without the Guides, at any time you can press
06:44Command+Semicolon on a Mac, or Ctrl+Semicolon on a PC.
06:48So that's what we have so far.
06:51Now we are going to make some inner tabs.
06:53The first thing we are going to do is to select a color by clicking the
06:56foreground color box, and we will take a very light blue for this, almost a
07:03white, and we will say OK.
07:05Now I am going to select my Rounded Rectangle tool and I am going to make sure
07:10that in the Options Bar, the New Shape layer icon is selected because I would
07:14like each one of these inner tabs to be on a separate shape layer.
07:19That's so that if I decide I want to make rollovers out of these, I can treat
07:22each one separately, perhaps changing its color or changing some other
07:27characteristic of it, without affecting the other inner tabs.
07:30So I will come in and I will I use the Guides to drag an inner tab right here,
07:37and when I see the Guides turned pink, then I will release my mouse.
07:41Those are the Smart Guides.
07:42That gives me Shape 2, which is this inner tab.
07:46Now I will make another inner tab on the second button by clicking-and-dragging,
07:51same on the third button, and on the fourth button.
08:00Now, I want to cut off the bottom of each one of these tabs.
08:03So I am going to go back to click on the Shape 2 layer, which is the leftmost
08:07inner tab, and it's very important, and here is something that may trip you up,
08:11to click on the Vector Mask.
08:13If you don't click right on the Vector Mask so that it has that border around
08:17it, you won't be able to cut off the bottom of the button.
08:19Now, I am going to go over to the Toolbox, and I'm going to choose the
08:23Regular Rectangle tool.
08:24I will go to the Options Bar, and I am going to click the Subtract From icon
08:29there and then I will come in and using the Guides, I'm going to start with the
08:34second horizontal Guide from the bottom and click-and-drag to select or to
08:39identify the bottom of this first inner tab.
08:43Then I'm going to select the Path Selection tool, the Black Arrow, and I
08:47will click the Combine button in the Options bar, and that cuts off the
08:50bottom of that tab.
08:51I am going to repeat this on each of the other tabs.
08:55I will go to Shape 3 and click on the Vector Mask there.
08:58I'll get the Rectangle tool and then I'm going to click-and-drag using the
09:03Guides to identify the bottom of that inner tab.
09:06I will get the Black Path Selection tool and click the Combine button.
09:12On the next button, I will click on the Vector Mask on Shape 4, I will get my
09:16Rectangle tool, click-and-drag, get the Black Arrow tool, and click Combine.
09:24On the last button, I will click on the Vector Mask of Shape 5, get my Rectangle
09:28tool, click-and-drag, get the Path Selection tool and click Combine.
09:35Now, I'm going to press Command+ Semicolon, that's Ctrl+Semicolon on a PC, so we
09:41can see what we have.
09:43And I will click that Vector Mask on the last Shape layer, so we can see without the paths.
09:48Now, let's finish up this Tab Navigation Bar by adding a drop shadow to the outer tabs.
09:54I will select Shape 1, and then I will go to the fx button at the bottom of the Layers panel.
09:59I will choose Drop Shadow, and in the Layer Styles dialog box, I am going to
10:04make this shadow a lot more subtle by reducing its Opacity to about 30,
10:10reducing its Distance, so it's closer in to the Navigation Bar, and then by
10:15increasing its Size.
10:23Then I'll click OK.
10:26All that's left to do now is to add text.
10:28So I will click on the very top layer so my text comes in above all of the buttons.
10:33I will get the Horizontal Type tool.
10:35I am going to accept all of the settings in the Horizontal Type Tool's Options
10:39Bar except for the Color.
10:41I will click on the Color field, and I am going to choose a much darker color
10:45for the text and click OK.
10:47Then I'm going to click on the very first button, and type 'products'.
10:51I am going to click the checkmark in the Options Bar to accept that type edit,
10:57and then I am going to duplicate the products layer by dragging it to the New
11:02layer icon at the bottom of the Layers panel.
11:04I will select the Move tool, and I will move to the right, and this is just the
11:09same thing that we've done in other movies in this chapter.
11:12Now, I have text on the second button.
11:14I will go to the Layers panel, and double-click the T icon on the products Copy
11:19layer, and instead of products, I am going to type 'about us'.
11:22Then I will click the checkmark in the Options Bar.
11:27I will duplicate the about us layer by dragging it to the New layer icon to the
11:30bottom of the Layers palette.
11:32With the Move tool, I will drag that new text over to the third button, I'll
11:36double-click the T icon on the about us copy layer and I'll type 'our stores'.
11:41Then I will click the checkmark in the Options Bar, and I may have to move
11:47our stores over to the left a little bit because that bit of text has more
11:51letters than about us.
11:53Then I'm going to duplicate the our stores type layer by dragging it to the New
11:57layer icon at the bottom of the Layers panel, and with the Move tool, I will
12:01drag that last bit of text over to the fourth button.
12:05I'll double-click the T icon on the our stores copy layer, and I will type
12:09'contact us', and then I will click the checkmark in the Options Bar.
12:14So that's how you can use Shape layers and Guides, and Rulers to create a
12:20perfectly aligned Tab Navigation Bar like this one.
12:24It will take you a little bit of time to do your calculations with pen and
12:27paper, and maybe a calculator to figure out how many pixels you are going to
12:31allocate to each tab, and how many pixels you want in between each tab.
12:35But once you have done that and dragged out your Guides, it's a simple matter to
12:39create your Tab Navigation Bar, as we've done here.
Collapse this transcript
Creating gel buttons
00:00One of the most popular buttons on the web is the Gel Button.
00:04You can make a Gel Button in Photoshop CS3 using a rounded rectangle shape layer
00:10along with a collection of Layer Styles.
00:13Let's select the Rounded Rectangle tool in the Toolbox and with the Radius set
00:17to 35 pixels to round the edges of this shape, I'm going to come in and draw out
00:23a pill-shaped button.
00:25I want to bring the button up off the page using a combination of highlights and
00:30shadows and glows and bevels.
00:33So we'll go to the Layers panel and we'll click on the vector masks so that
00:36we're not looking at the path around the button and then we'll go down to
00:40fx icon at the bottom of the Layers panel and we'll choose Color Overlay as
00:45our first layer style.
00:46We don't want this button to be red, so I'll click in the color box here and
00:50I'll choose a green.
00:52I'm going to choose something light and then I'll click OK.
00:58Now I'm going to add a Satin layer style on top of the Color Overlay.
01:02So I'll check Satin and I really don't like the default settings.
01:07In order to bring up those settings, I'm going to click on the word 'Satin' and
01:12that brings up the Satin settings over here in the Layer Style dialog box.
01:15First, I'm going to go to the Blend mode field and I'm going to change the color
01:19to the right of that field.
01:21I'll go down to the green area and I'm going to choose something a little
01:26brighter than the green of the button and then I'll click OK.
01:33I'm going to change the Blend mode or the way that this screen interacts with
01:36the colors below from Multiply to Overlay and then I'm going to change the Angle
01:42of this effect so that it goes straight across.
01:45I'll make this 90 degrees.
01:46I'm going to increase the Distance of the effect and I'll increase its Size as well.
01:54The Contour field affects the shape of any layer style.
01:58I'll click the arrow there and I usually just cycle through these, choosing
02:02the one that I like.
02:03I happen to know that I want this ring effect here so I'll choose that and I'll
02:07click off of this menu to close it and then I'm going to check Anti-aliased to
02:12blend the edges of this effect with the button.
02:15So far, we have a very subtle effect.
02:17Let's add some more layer styles to see if we can get some more
02:20dimensionality to this button.
02:22I'll add a Bevel and Emboss layer style and that has an effect right away, but
02:26it's not exactly the one I want though.
02:28So I'm going to go in and modify its options as well.
02:32I'll click on Bevel and Emboss and then I'm going to check Contour so that I
02:37can get some of this shading in my button and then I'll go over to the options on the right side.
02:43Here, I'm going to increase the Size of this Bevel a little bit and I'm also
02:48going to soften it a bit.
02:50I'll leave the Style and Technique and Depth and Direction at their defaults.
02:54Down in the Shading area, I want to make sure the Angle of this effect is set
02:58to 90 degrees as well.
02:59I also want its Altitude to be fairly high. It's set up at 70.
03:03If yours is lower, you can increase it to around 70.
03:07I'm going to check Anti-aliased so that the Contour blends in more with the
03:11button. And this is important. In the Highlight mode field,
03:14I'm going to take the Opacity and I'm going to raise it all the way up to 100%,
03:20and then I'm going to take the Opacity of the Shadow mode and move that down to
03:240%, and now you can start to see that shiny effect on the button that's going to
03:30make it look like a Gel Button.
03:32The next thing we're going to do is to add an Inner Glow.
03:35So I'm going to check Inner Glow and I'm going to select Inner Glow to change
03:39its options over here on the right.
03:41I'm going to click on the Color, because I don't want a yellow Inner Glow and
03:45I'm going to select a green, a darker green than we see here and I'll click OK.
03:52I'm going to change the Blend mode of the Inner Glow effect from Screen, which
03:57lightens it, to Multiply, which darkens it.
04:01I'll go down to this middle section and I'll increase the Choke of this effect.
04:05I'm going to bring it up much higher than it was by default to move that green
04:12in and then I'm also going to increase the Size of the effect a bit.
04:17Now I'm going to add an Inner Shadow by checking that layer style and right away
04:22you see a difference here.
04:23The Inner Shadow has an effect on the top of the button.
04:26I'll turn that off so you can see and then turn it back on.
04:30I'm going to select Inner Shadow and I'm going to change its Color from black to a dark green.
04:39I'll click OK and I'm going to come in and I'm going to increase the Choke of
04:43this effect and as I do you can see a changing in the button.
04:51I'll also try increasing the Size and now our button is starting to really get
04:55that nice gel look to it.
04:58It's caused by the Highlights and Shadows and the Bevel.
05:01There's one more thing that we can do to this button.
05:04We can add an Outer Glow to it.
05:06So I'm going to check Outer Glow and I'm going to select Outer Glow and maybe
05:12I'll increase the Size of the glow a bit and I'll lower its Opacity, so it's
05:17not quite so bright.
05:23I could also come in and change the color of the glow from yellow, by clicking in
05:27the color field, to a greener color and then I'll click OK and I'll click OK
05:35again and there we have our gel button.
05:38As I mentioned, you can change any of the effects that you see on your Shape
05:42layer by simply double-clicking one of the effects and making a change in its dialog box.
05:48I'll click OK again.
05:54So that's how you can use what you've learned about Shape layers and Layer
05:58Styles to make a pretty complex really great-looking gel button in
06:03Photoshop CS3.
Collapse this transcript
Navigation bars with icons
00:00Another useful kind of navigation is iconic navigation, which contains small
00:05graphics that represent the content of a button.
00:08This kind of navigation is particularly helpful if you have an international
00:12audience, because then you don't have to use text, but you do have to be careful
00:16to use simple icons and ones that are visually readable and that are meaningful
00:21to a broad audience.
00:22Let's see if we can find those sorts of icons to put on this navigation bar.
00:27We'll start by going to the Toolbox and clicking in the Shape tool slot and
00:32selecting the Custom Shape tool.
00:34Then we'll go to the Options bar and we'll click in the Shape field and we'll
00:39see what kind of shapes we have to choose from.
00:41I don't see any here that really suit my categories, which are CONTACT and STORES
00:48and ABOUT and PRODUCTS,
00:51so I'm going to click the arrow on the right side of this menu and go down
00:55in the pop-up menu and choose All, so that I can see all of the shapes that
01:00come with Photoshop.
01:02I'll click OK at this warning and that replaces that small set of shapes with
01:08this very long set of shapes and I can see them all by clicking on the bottom
01:12right corner of my Shapes menu and pulling down.
01:15So you see we have animals, we have plants, we have puzzle pieces, and here I
01:23see something that I think will work for the CONTACT icon, this black envelope.
01:28So I'm going to click on the black envelope and then click back on the Options
01:32bar to close the Shape menu.
01:34Then I'll come into my document and I'm going to draw a black envelope and I'll
01:39use a the Smart Guides so that I don't go wider than the word CONTACT.
01:42Then I'm going to get my Move tool and I'm going to move that where want
01:47it, above the word.
01:48Now I'm going to look for another icon for the STORES button.
01:51So I'm going to go back to the Custom Shape tool and I'm going to click in the
01:55Shape field and I'll scroll down further and see what's here. Ah!
01:59Here's a shopping cart, perfect for STORES.
02:02So I'll click back in the Options bar and I want to make sure that Create a New
02:08Shape layer is selected here.
02:09I'm going to click off it and then back on.
02:13Then I'm going to come in and this time I'm going to hold the Shift key, and I'm
02:17going to click-and-drag, and I'm holding the Shift key so that I retain the
02:21proportions of this original shopping cart, because I don't want to distort it.
02:25Then it's important that I release my mouse before releasing the Shift key or I
02:29will distort the shape.
02:31Let me click on the vector mask there so that you can see that shopping cart.
02:34Then I'll get my Move tool and I'm going to move that into place.
02:39Now for ABOUT US and PRODUCTS I didn't see anything in that menu of Shapes that
02:43come with Photoshop that would do. That's okay.
02:47We can create our own custom shape very easily and I'd like to show you how now.
02:51Let's open a new file from which we're going to create an icon for the ABOUT US button.
02:55Open teacup.psd from the Chapter 09 Exercise Files folder.
03:00There you'll see a single layer file with this teacup on a green background.
03:05Our first task is to select the teacup and to do that I'm going to show you a
03:09wonderful new selection tool.
03:11It's going to save you lots of time.
03:14It's here in the Toolbox and it's called the Quick Selection tool.
03:18What you do with this tool is you just come in and you click-and-drag over a
03:23color and as you go, it starts selecting all of the colors over which you're
03:28dragging and those within the same range and I can let go of my mouse and the
03:33next time I click, it automatically adds to the selection.
03:36I don't have to tell it to add to the selection and let's just say I went too
03:41far and I selected some of the green there.
03:43In order to delete that area from the selection, I would just hold down the
03:47Option key on a Mac, or the Alt key on a PC and click on that green area and it would go away.
03:54Now sometimes you've to change your brush size a little and go back and forth a
03:58bit, but it really is a useful tool.
04:01It makes selections so much easier than they are with any other tool and at least
04:06selections that are against a high contrast background, like this one.
04:09Now that we have this teacup selected, we're going to make it into a vector-based path.
04:15To do that I'm going to open the Paths palette by going to Window and then down to Paths.
04:22Here's my Paths palette.
04:23Let me close the Layers palette for a minute and in the Paths palette, I'm
04:27going to go to the bottom and I'm going to click Make Path From Selection,
04:32this icon right here.
04:34That makes a work path.
04:36Then I'm going to double-click the work path and I'm going to save that work path.
04:40I could just use its default name and say OK.
04:43With teacup.psd still selected, I'm going to go to the Edit menu and I am going
04:48down to Define Custom Shape.
04:50I'll call this my 'teacup' and I'll click OK.
04:55Now if I select the Custom Shape tool in the Toolbox and I go to the Shapes and
05:00I scroll all the way to the bottom, there, I find my brand-new custom shape
05:04created from the selection in this photograph.
05:08So we can use this custom shape in our navigation bar by selecting it and then
05:13clicking back in the Options bar, coming into icon_buttons.psd again, and I'm
05:19going to hold the Shift key this time to constrain proportions as I drag out
05:25the icon of a teacup.
05:26I'll get my Move tool and I'll move this one into place too, aligning it with
05:31the other buttons and with ABOUT US.
05:36Let me go to the Layers palette now, which I'll open, and I'll click on that
05:40vector mask to show you how that icon looks.
05:43Now it doesn't have to be perfect, because it's quite small, so I think that will do nicely.
05:47Now let's make one more icon for the PRODUCTS button there.
05:50I'm actually going to go and close teacup.psd without saving and I'm going to
05:56open another file, teapot.psd.
06:00Here we have a file with two layers, the teapot is already on its own layer.
06:05So here's shortcut for selecting an item that is on its own layer against a
06:10transparent background, like this one is.
06:12First, let me show you that that's the case by turning the Background off and
06:16indeed, you see the teapot is on this transparent layer.
06:19It does have this funny shadow stuck on it, but we'll deal with that in a moment.
06:24So the shortcut to select the content on a transparent layer is to hold the
06:28Command key on a Mac, or the Control key on a PC and click directly on the layer
06:33thumbnail, not on the blue bar, but on the layer thumbnail, and that selects the
06:38entire content of that layer.
06:40Now I want to get rid of this shadow at the bottom.
06:42So all I'm going to do is to get that Quick Selection tool, move over the shadow
06:48and hold the Option key and then click-and-drag.
06:52If you go too far, as I did, you can just come right back in and click with the
06:57Plus sign and then you can Option+Click again and you just keep working it until you
07:02get rid of the shadow.
07:04That didn't take long and it wasn't very hard.
07:06So now that we've that teapot selected, we'll go to our Paths palette and
07:10we'll click at the Make Path From Selection icon at the bottom of the Paths palette.
07:15That makes a work path, which we'll double-click and we'll say OK.
07:19Now that we have a path around this teapot, we can go to Edit>Define Custom
07:25Shape and we'll call this one 'teapot. Click OK.
07:31I'll close the teapot image,
07:33don't have to save it, and go back into my icon_buttons.
07:37Let me close my layers so it's not on the way and now I'm going to get my Custom
07:43Shape tool, go to the Shape picker, open it and at the bottom I will find my
07:48brand-new teapot icon that I just made.
07:52Now I'm going to click back on the Options bar to close the Shape picker.
07:57I'm going to come into the icon_buttons.psd document, hold the Shift key to
08:01constrain proportions and drag out a teapot and then I'll get my Move tool and I'll
08:10move that into place.
08:11Now because these are shapes, any of them can be made smaller or bigger by
08:16selecting it with the Direct Selection tool and manipulating it further,
08:21but I like the way these look right now.
08:23I'm going to open the Layers palette and click off that layer and then close the
08:27Layers palette so you can see my page with all of its buttons.
08:31Now that you know how to create custom shapes, go out and create some
08:34custom shapes of your own.
08:36You can do it from any item that you can select and then make into a path and
08:41into a custom shape.
Collapse this transcript
10. Optimizing Transparent Graphics
Understanding web graphic transparency
00:00In this chapter, we're going to learn how to optimize transparent graphics for the web.
00:05There are several challenges when you're optimizing transparent web graphics.
00:08One has to do with the file format.
00:10Not all web-friendly formats support transparency.
00:14So for example, if you're optimizing in the JPEG format, you can't have
00:18transparent pixels in your JPEG.
00:19They just won't display on the web.
00:21So later in this chapter, we'll learn a way to simulate the look of transparency
00:25when we're optimizing a JPEG.
00:27The most popular file format for a transparent web graphics is GIF and that's
00:31what we'll be using here in this chapter.
00:33Alternatively, you could optimize a transparent web graphic as a PNG 8, which as
00:37we learned in the chapter on optimization, is very similar to GIF.
00:41Another alternative is to optimize as PNG 24, but unfortunately, not all popular
00:46web browsers support transparency in a PNG 24 image, so we won't be talking much
00:51about that in this chapter.
00:52The advantage of using transparent web graphics is that they avoid the otherwise
00:56rectangular nature that's inherent in any graphic and that'll offer visual
01:01variety to your webpages.
01:02Once you've optimized an image in a format that honors transparency, you can
01:06place that image against a solid color background or, in some cases, successfully
01:11against a patterned background like the one you see here without the image
01:14appearing to be rectangular.
01:16Another challenge of optimizing a transparent web graphic is to keep its
01:20edges looking smooth.
01:22When you're working on a graphic that's transparent in Photoshop its edges often
01:26do look smooth. That can be because it has a soft shadow behind it or a glow
01:30around it or more commonly, because the edges of a graphic are Anti-aliased.
01:34Anti-aliasing means the use of pixels of differing levels of transparency, as you see here.
01:41Putting at the edge of a graphic some pixels that are completely opaque and then
01:45others that fade out to different levels of opacity make the edges appear to be
01:49smooth and round even though they're made up of square pixels.
01:52Unfortunately, even though a transparent graphic may look like this when you're
01:56working on it in Photoshop, when you save it as a GIF, or as a PNG8, you'll lose
02:01those multiple levels of transparency.
02:04That's because the GIF and PNG8 formats support only one-bit masking and
02:08that means that every pixel is either completely opaque or completely
02:12transparent, nothing in between.
02:14This can make a transparent graphic that's optimized as a GIF or as a PNG8 have
02:18a jagged edge like this when placed on a page background and this isn't usually
02:23the look that you want.
02:24So what can you do about it?
02:25Fortunately, Photoshop offers a solution.
02:27In the movies in this chapter, we'll learn how to use the Matte feature in
02:31Photoshop Save for Web Window to add a solid color along the edge of a GIF or a
02:36PNG8 that'll blend in with the color of the page background against which we
02:40plan to put our optimized graphic and the result will be something like this, a
02:45graphic saved as a GI,F or as a PNG8 that appears to have a smooth edge in a web
02:50browser and we'll even see in these movies that you can get the same kind of
02:53smooth look when you're starting with a transparent graphic that has a soft
02:57shadowed edge or a soft glow.
Collapse this transcript
Optimizing transparent graphics
00:00In this movie, we're going to learn how to optimize a transparent image as a GIF.
00:04The same principles I'll show you here would also apply if we optimized as a PNG 8.
00:09If you're working along with me, open chai.psd from the chapter10 Exercise Files folder.
00:14This is a graphic with a smooth edge against a transparent background.
00:18The edge is smooth because the graphic has been anti-aliased,
00:21in other words, it has pixels of different levels of transparency at its edge,
00:25which gives the illusion of it being smooth or round.
00:28To start optimizing this image, we will go to the File menu and we'll choose
00:32Save For Web & Devices.
00:35In the Save For Web & Devices window, I'm going to click the 2-Up tab, so I see
00:39two views of the image.
00:40The one on the left is the original Photoshop document, the PSD.
00:44The one on the right is a preview of how the image will look when optimized as a GIF.
00:48The first thing you'll notice is that the GIF preview has a white background.
00:52There is a simple reason for this.
00:53If you move over to the controls on the right, you'll see a Transparency field.
00:57When you're optimizing an image that you want to retain its transparency, you
01:01must always check this box.
01:03So I'm going to check Transparency, and now we can see our preview against the
01:07gray and white checkerboard that represents Transparency in Photoshop.
01:10The next thing you may notice is that the GIF preview has jaggedy edges but the
01:15Photoshop document has smooth edges.
01:17Let's zoom in to see that a little better.
01:19I'm going to go to the abbreviated Toolbox in the Save For Web & Devices window
01:23and click on the Zoom tool and then I'll click on the Photoshop side and zoom in
01:27and here you can see the multiple levels of transparent pixels at the edge of
01:33this graphic in the original PSD file.
01:35Here we have fully opaque pixels and outside the graphic, we have fully
01:39transparent pixels represented by the checkerboard, and in between we have
01:43pixels of varying levels of opacity, fading out to our transparency.
01:47That's the anti-aliased edge, which gives the illusion of smoothness.
01:51Now, let's look at the GIF side.
01:52I'll click there and we can see that we have jaggedy edges on all parts of
01:57this graphic, because each pixel in the GIF is either fully opaque or, out here, fully transparent.
02:03There are no levels of transparency in between.
02:06The GIF file format just doesn't support multi-level transparency.
02:09Let's set up a solid color background for this GIF so that we can preview how
02:14the GIF will look in a web browser with this kind of an edge.
02:17The first thing I'm going to do is move over to the abbreviated Toolbox again
02:21and click on this square of color, which happens to be set to be black.
02:25That opens the Color Picker.
02:26Here in the Color Picker, I'm going to choose a light yellowish green as
02:30my Eyedropper Color.
02:31From the Hue slider, I'll click on the light yellow green area and then I'm
02:35going to pick a color in the Color field on the left and it really doesn't
02:39matter exactly which color you choose, so long as it's a light one, and I'll click OK.
02:44Now, I'm going to set up a web page against which to preview this GIF.
02:49I'm going to go to the arrow at the top right of the Save For Web & Devices
02:52window, click and choose Edit Output Settings.
02:55In the Output Settings dialog box, I'll click on the second menu from the top
02:59and I'm going to choose Background.
03:00Here, I want to make sure that I have View Document as Image selected so that
03:05Photoshop knows that we want this graphic to be a foreground image rather than a
03:09repeating background tile.
03:11Next, I'm going to choose a color for our web page background.
03:13I'll go to the Color field and click on the arrow there.
03:16Instead of None, I'm going to choose Eyedropper Color and that's going to give
03:20me a webpage against which to preview this graphic that is the same color as
03:25this Eyedropper Color that I chose earlier.
03:27So I'll select Eyedropper Color and then I'll click OK.
03:32Now, let's preview the image against that color by moving to the Preview in
03:36Browser icon at the bottom of the Save For Web & Devices window and clicking,
03:40and that opens the image in our default Web browser.
03:43Now you can see the jaggedy edge of the graphic against our light green background.
03:48And if I zoom in, you can see it even more closely.
03:51That's not the look that I want with this graphic.
03:53I want it to look smooth.
03:54So let's go back into Photoshop Save For Web window and I'll show you how you
03:57can create the illusion of smoothness in a transparent GIF.
04:03I've closed my web browser and I'm going to click back on the Save For Web & Devices window.
04:08Now, I'm going to move to the Matte field.
04:10The Matte is the secret sauce that will make this work.
04:13Because the Matte is set to None, we see jaggedy edges in the GIF preview.
04:17I'm going to click the arrow on the Matte field and I just want to show you what
04:20happens if I choose a very obvious color here, like black.
04:24Notice that now in the GIF preview, the edges of the graphic have turned black.
04:28If we're going to put this optimized GIF against a black web page, it would
04:32now blend in perfectly.
04:33But in this case, we're going to put the graphic against a light green background.
04:37So here is how we can choose a Matte color that will blend perfectly with our light green.
04:42I'll click the arrow on the Matte filed again, and I'm going to choose
04:45the Eyedropper Color.
04:46The Eyedropper Color is way over here, this light green, the very same light
04:50green that we used as the web page background.
04:53So with the Eyedropper Color selected, in the Matte field, the edges of our
04:57graphic now turn light green and when I go to the Preview in Browser button at
05:01the bottom of the Save For Web & Devices window and click there, I can preview
05:06the graphic against a light green background, now with the illusion that the
05:11graphic has a smooth edge.
05:12What we've done is camouflaged the jaggedly edge of the GIF with the same green
05:17color in the Matte field as we used for our page background.
05:20I'm going to minimize the web browser again and let's click again on our Save
05:25For Web & Devices window.
05:26At this point, what I would normally do is continue to tweak my GIF settings, my
05:31Color Reduction palette, the number of Colors, the amount of Lossy compression
05:35to try to get the file size down and keep the image looking good.
05:38Then I would Save the optimized GIF.
05:40I'll show you how to do all that shortly.
05:42But for now if you're following along, just click Cancel because I want to show
05:45you something else before we save.
05:47And that is how to prepare a transparent GIF to be set against a patterned
05:51web page background.
Collapse this transcript
Optimizing transparent graphics on a patterned background
00:00In the last movie, we took a look at how to optimize a transparent graphic so
00:04that it would blend nicely on a solid color webpage background.
00:08In this movie, let's see what happens if instead of a solid color page
00:12background, we want to use a patterned page background.
00:15I have opened chai.psd again from the chapter10 Exercise Files folder, along with
00:20another image from that folder, cup_tile.gif.
00:23Cup_tile.gif is a GIF image that we're going to use as a repeating background tile.
00:29We learned about repeating background tiles back in the chapter
00:31called Backgrounds.
00:32The first thing I'm going to do is to sample the primary color from cup_tile.gif.
00:37To do that, I'm going to select the Eyedropper tool in the Toolbox and then I'm
00:41going to click on this darker green.
00:43That puts the green in the Foreground Color Box in the Toolbox, so we want to remember that.
00:48Now, we can close cup_tile.gif. That's all we needed it for was to sample its color.
00:53Back in chai.psd, I'm going to optimize this file for the web.
00:57So I'm going to File and Save For Web & Devices and as in the last movie,
01:01the first thing I'm noticing about the that the GIF preview is it has a white background.
01:05We know that that's because transparency needs to be checkedmarked on the right.
01:09So we'll click in the Transparency box and now we can see the transparent pixels
01:13around our chai illustration.
01:15If you look closely, you will also notice that the chai illustration has jagged
01:19edges here in the preview.
01:21That's because are Matte color is set to None, as we learned in the last movie.
01:25What I'd like to do now is to set up that cup_tile image as a repeating
01:29background so I can preview this illustration on top of that background.
01:33So I'm going to go to the arrow in the top right of the Save For Web & Devices
01:37window, click and choose Edit Output Settings.
01:40In the Output Settings dialog box, I'm going to go to the second menu and choose Background.
01:45As in the last movie, I'm going to set this Image to be a foreground image
01:49rather than a repeating background.
01:51And rather than going to the Color field and choosing a solid color page
01:54background, I'm going to go to this Background Image area.
01:58I'm going to go and choose the image that I would like to have as my
02:01repeating background.
02:02If you have anything in this area, just select and delete it and click Choose.
02:07In the Choose Background Image dialog box, I'm going to navigate to my Desktop,
02:13where I have my Exercise Files folder.
02:18In there, I have my chapter10_transparency folder and I'm going to select
02:22cup_tile.gif, the image that we sampled just a moment ago.
02:26I'll click Open and now I'll click OK and that closes the Output Settings dialog
02:30box and brings me back to Save For Web & Devices.
02:33Now, let's preview this image against our repeating background.
02:37I'll click the Preview in Browser icon at the bottom of the Save For Web &
02:41Devices window and that opens my default web browser.
02:44Here you can see that image repeating over and over as the background.
02:48And if you look closely at the transparent GIF that is sitting on top of that
02:52background, you can see that it does have a very jagged edge.
02:55Let me zoom in to show you that closer up.
02:58There is the jagged edge and I really would like this edge to look smooth and to
03:02appear to blend into that repeating background.
03:04To do that, we'll go back to the Save For Web & Devices window.
03:11Here in Save For Web & Devices, I'm going to rely on the Matte field again to
03:15blend my transparent GIF in with this repeating background.
03:18I'll click on the arrow to the right of the Matte field and this time, I'm going
03:22to choose, not the Eyedropper Color as I did in the preceding movie to match a
03:26solid color background, rather, I'm going to choose Foreground Color.
03:30Foreground Color refers to the Toolbox outside of the Save For Web &
03:34Devices window where we had sampled from our cup_tile.gif that beige color
03:39as our foreground color.
03:40So I'll select foreground color and if you have a good eye, you can see along
03:44the edge of the cup and the rest of this design, there is now that beige color
03:49that we sampled from cup_tile.gif.
03:51Let's zoom in to see that a little better.
03:55There it is, just along the edge.
03:56Now, let's preview our transparent GIF against that repeating background.
04:00I'll click the Preview in Browser icon again at the bottom of the Save For Web & Devices window.
04:05That opens the default browser and now when we look at our transparent GIF
04:09against this repeating background, the edge looks nice and smooth.
04:13The secret here is that we're using a background that has one primary color,
04:17this greenish color and just thin lines of another not very contrasting color.
04:22I'm going to zoom in and you can see here that right along that edge, there is a
04:28little gap wherever we see one of those thin yellow pieces of the pattern,
04:32because along the edge is the darker green.
04:34But it doesn't really matter when we get back to 100% percent because our eyes
04:38don't make that finer distinction.
04:40So here at 100%, everything looks fine and the secret is that we're using very
04:44thin patterned tile.
04:45Now what happens if we were to use a different kind of a pattern behind this image?
04:49Let's take a look at that.
04:51I'm going to close the browser and I'm going to close the Save For Web & Devices
04:56window by clicking Cancel.
04:58Now let's open another image from our chapter10 Exercise Files folder.
05:03That image is thick_tile.gif.
05:05It's not large areas of pattern, as you can see.
05:09And what we're going to do here is to select what appears to be the primary
05:12color, this darker green.
05:14So I get my Eyedropper tool and I'll click on the darker green and then I can
05:18close thick_tile.gif.
05:20Now, in chai.psd, I'm going to again go to File>Save For Web & Devices, I'm
05:26going to click Transparency.
05:28I'm going to click the button on the top right of Save For Web & Devices and
05:32choose Edit Output Settings, just as I did a few minutes ago.
05:36And then I'm going to the second menu from the top and choosing Background.
05:39I'll leave the Document as Image and in the Background Image Path field, I'm
05:43going to click the Choose button and I'm going to navigate to my Desktop, my
05:50Exercise Files, my chapter10_ transparency, but this time, I'm going to select
05:57the thick_tile.gif as the repeating background and I'll click Open and then I'll click OK.
06:03Now, I'm going to go to the Matte field and as I did a few moments ago with the
06:07thin_tile, I'm going to choose the Foreground Color, which is that green that we
06:11just sampled from our thick_tile.
06:13You can see that green now fills in the edges of this graphic and let's go
06:17preview it in a web browser.
06:19But if you look closely, you can see that wherever there is a light green in
06:22this thick background, we do see a halo of darker green around the image.
06:27There you can see it a little better.
06:29So the upshot is that if you plan to use a transparent image against a
06:34background pattern, it's best to design a thin background rather than a
06:38background with areas of thick color and that's particularly true if the
06:42various colors in the background are of high contrast, one with the other.
06:45In the next movie, let's see how we can optimize a transparent GIF that has a
06:50soft edge that's a shadow or a glow.
Collapse this transcript
Optimizing transparent graphics with shadows and glows
00:00Now that we know how to optimize a transparent image that has a soft edge
00:04caused by anti-aliasing,
00:06let's look at a transparent image with another kind of soft edge, one caused by
00:10a layer style like a soft Drop Shadow or a soft Outer Glow.
00:14If you're working along with me, you can open chai_02.psd and then go to the
00:19Layers panel and click the arrow to the right of FX.
00:22There you see a list of the Layer Effects that have been applied to this image.
00:26We have a Drop Shadow, which I'll turn on and off so you can see that, and I'm
00:29going to leave that off.
00:31We also have an Outer Glow here.
00:32Let me turn the visibility of that on and off, so you can see it.
00:35And we're just going to talk about optimizing with this Outer Glow to start with.
00:39To optimize this transparent GIF, we'll go to File and we go down to Save For Web & Devices.
00:46And in the Save For Web & Devices window, we'll make sure we have our 2-Up tab selected.
00:50Building on the skills we've already learned, we know that we need to check
00:54transparency in order to see transparent pixels behind this GIF preview that we
00:59have here on the right.
01:00So I'll check Transparency and now we have the gray and white checkerboard,
01:03representing the transparent pixels in the file.
01:06Notice that in the PSD, this glow looks very soft,
01:10but in the GIF variation it doesn't look soft.
01:13It looks very hard edged.
01:14I'd like to see how this looks against a repeating background, that same thin
01:18background tile that we've used previously in this chapter.
01:21So I'm going to first set up that as the background tile by going to the
01:25arrow on the right side of be Save For Web & Devices window and choosing Edit Output Settings.
01:31In the Output Settings window, as we've already learned, we'll go to the second menu
01:35and choose Background.
01:36We'll View the Document as Image.
01:38We'll move to the Path field and we'll click the Choose button and we're going
01:42to go to our Exercise Files folder on the Desktop, into the
01:48chapter10_transparency folder and we're going to select cup_tile.gif as our
01:53repeating background tile and click Open.
01:55And then we'll click OK and now we're ready to preview against that repeating
01:59background by clicking the Preview in Browser button at the bottom of the Save
02:03For Web & Devices window.
02:04Well, that doesn't exactly look like what I had in mind.
02:07That Outer Glow is way too sharp.
02:09It needs to be much, much softer on its edges to look realistic against this
02:13light green repeating tile background.
02:15So let's go back and fix that.
02:17I'm going to close the web browser and back in Save for Web & Devices, I'm going to Cancel.
02:22The reason is that I need to open my repeating background tile and sample its
02:26color so that we can use that color to camouflage the edge of this glow.
02:30So if you're following along, go back to your chapter10 Exercise Files folder
02:34and open cup_tile.gif.
02:36With cup_tile.gif on the screen, I'm going to go to the Toolbox, select the
02:41Eyedropper and I'm going to click in the primary color here, this darker green,
02:45and that puts the green in the Foreground Color Box in the Toolbox.
02:48I can now close cup_tile.gif and I'm going back to File>Save For Web & Devices
02:54in the chai.psd image.
02:56Now, once again, I'm going to check Transparency and then I'm going to move to
03:00the Matte field where I'm going to choose Foreground Color, which is that light
03:04green that's in our Foreground Color Box in the Toolbox.
03:07You can now really see in the preview how that light green color is being used
03:11on the soft pixels at the edge of our glow.
03:14Now, let's preview against the very same repeating tile background.
03:18I'm going to go to the arrow again on the side of Save For Web & Devices, down
03:22to Output Settings, you know the drill, up to the second menu, choose Background.
03:27And in the Background Image Path, I'll click Choose and I'll navigate to my
03:31chapter10_transparency folder and I'll choose cup_tile.gif and click Open, and
03:36click OK to close my Output Settings.
03:38And just as we did before, I'll click the Preview in Browser button at the
03:42bottom of the Save For Web & Devices window.
03:44And there we have our nice soft-looking glow on this transparent illustration
03:49against our repeating background.
03:51So it's pretty amazing that you can get that rough glow that we saw a few
03:54minutes ago to look this good, this easily in Photoshop CS3.
03:58Let's quickly go back into the same thing with the Shadow.
04:01I'm going to minimize the Web browser.
04:03I'm going to cancel out of Save For Web & Devices and back in chai_02.psd,
04:08I'm going to make the Outer Glow invisible and I'm going to turn on the Drop
04:12Shadow layer effect instead by clicking just to the left of Drop Shadow.
04:16I already have the primary color of my cup_tile here in my Foreground color box
04:20so I'm fine with that.
04:21And all I have to do is go to File and go to Save For Web & Devices. I'm going
04:26to click Transparency and instead of Matte being set to None, which gives us
04:31this really hard-edged-looking shadow in the preview, I'm going to set my
04:35Matte to the Foreground Color, which is the light green that we sampled from the cup_tile.gif.
04:41You can see it filling in the soft edge around the shadow here.
04:44And now, let's set up our page background, once again, by clicking the arrow on
04:48the right side of the Save For Web & Devices dialog box and choosing Edit Output Settings.
04:54In Output Settings, we go to Background, we choose the Path to our
05:00chapter10_transparency folder to cup_tile.gif and click Open and then click OK.
05:06Now, we'll preview our illustration with its Drop Shadow by clicking the Preview
05:10in Browser button at the bottom of the Save For Web & Devices window.
05:13As you can see, our illustration with its Drop Shadow looks just fine against
05:18this patterned background.
05:19So you can use the Matte field to camouflage even a thick soft edge, like the kind
05:24that you get with the Drop Shadow here or with an Outer Glow.
05:27But do be aware that when you are optimizing a transparent graphic that has
05:32a layer effect like this, it's even more vulnerable to use against a thick background.
05:36It's really not going to look very good because the Drop Shadow moves so far
05:41away from the edge of the illustration that it will interrupt the pattern on the background.
05:45Now that you know all about preparing a transparent graphic in Photoshop CS3,
05:50let's talk about how to save out that graphic in the next movie.
Collapse this transcript
Saving transparent graphics
00:00This movie follows straight on the heels of the preceding movie in which we
00:04learned how to optimize a transparent GIF whose soft edges were caused by layer
00:08effects, like Glows and Drop Shadows.
00:10When you are done optimizing a transparent GIF like that one, or a transparent
00:14GIF of any sort, you're going to want to save the results and that's the
00:18subject of this movie.
00:19If you're working along with me, then please do work through the preceding
00:22movie and at this point, just click the Save button in the Save For Web &
00:25Devices dialog box.
00:27That opens the Save Optimized As window.
00:29Here, I'm going to decide where I want to save my transparent GIF.
00:33I'm going to choose to save on the Desktop and there I'm going to make a new
00:36folder by clicking the New Folder button, and I'll call that one transparent.
00:41I'll click Create and I'll select that folder.
00:47Now, I'm going to go down to the Format menu.
00:49Here I have a choice to make and you'll have the same choice whenever you are
00:52creating a transparent GIF.
00:53You could choose images only.
00:55In that case, Photoshop will save out only the transparent GIF with transparent
00:59pixels all ready to be placed on top of any web background in a site building
01:03program like Dreamweaver and that may be sufficient for you.
01:06Today, I would like to choose HTML & Images because I want to show you what that does.
01:11It's going to cause Photoshop to save not only our transparent GIF but also
01:15an HTML file with HTML instructions to place that GIF on top of a repeating
01:20background pattern.
01:22I also want to show you something here in the Settings area.
01:25I'm going to click on the Settings menu, and I'm going to go down and choose Other.
01:29In the Output Settings dialog box, I want to make sure this second menu is set
01:33to Saving Files so that you can see this instruction, Copy Background Image When
01:38Saving, which is checked by default.
01:41This causes Photoshop to save a copy of the background tile as well as our
01:46transparent foreground image.
01:48So we'll click OK and then we'll click Save.
01:51Now, I'm going to go out to my Desktop to see what I have saved.
01:54Here is my transparent folder, which I'm going to open and inside of that I see
01:59an HTML file along with an Images folder.
02:01Let's open the Images folder and here we have two images.
02:05We'll open those to see how they look.
02:06First, we have our transparent GIF and there it is with the green matte color
02:13filled in around the drop shadow.
02:16Let's zoom in for just a minute so you can see what's happened with this green color.
02:19As you can see, there is a jagged edge on the outside of the green pixels, but
02:24that doesn't matter because those blend directly into the same color of the web
02:28page background making the drop shadow itself look soft.
02:32Now, let's see our cup_tile.gif and as promised, this is just a copy of that
02:37repeating background tile and then I'm going to look at my HTML file.
02:42I'll open that in a web browser and here you can see a repeating background and
02:47our transparent GIF with its soft drop shadow edge nicely blended against the
02:52light green pattern.
Collapse this transcript
Starting with a non-transparent image
00:00In the preceding movies, we've been looking at how to optimize an image that
00:04already has transparency in it,
00:06an image that perhaps was created with a transparent background or one that has
00:10areas that were selected and then masked or deleted.
00:13But there will be times when you have an image like this one, flavors.psd, from
00:17the chapter10 Exercise Files folder that doesn't have any transparent areas yet,
00:22but that you would like to put on top of a web page background and have some
00:25areas appear transparent.
00:27Here is a quick way to make that happen.
00:29I'm going to go to the File menu, and down to Save For Web & Devices.
00:33Here, I'm going to select the Eyedropper tool from the Toolbox on the left side
00:36of the Save For Web & Devices window.
00:38And with that eyedropper, I'm going to click on one of the light green pixels,
00:43because what I would like to do is to knock out all of the light green pixels
00:46around the edge so that my graphic appears to have rounded corners and so
00:50that these is some transparency between the white border on the right and the
00:54larger part of the image.
00:55When I clicked on this light green pixel, in the GIF Color Table on the right,
00:59that color is highlighted.
01:01With that color chip highlighted, I'll go down to the Transparent icon at the
01:05bottom of the Color Table and keep your eye on the image, when I click there,
01:09every instance of the highlighted light green color has been remapped to
01:13become transparent.
01:15Now, we have a transparent graphic and all we have to do is apply the principles
01:18we have already learned to set it up against our web page background.
01:22I'd like to have this graphic on a solid red background.
01:26So with the Eyedropper tool, I'm going to click on dark red, here in the image, to
01:30set that as the eyedropper color.
01:32Then I'm going over to the right to the arrow, clicking there and bringing up
01:36the Edit Output Settings command.
01:38I'll choose that and in the Output Settings dialog box, I'll go to the second
01:42menu and choose Background.
01:44Here, I'm going to the Color field and I'm going to click the arrow, and I'm
01:48going to choose as the background color, the Eyedropper color,
01:51in other words, the red that's over here.
01:53Now that we have set up our page background color, we can click OK and I do
01:58want to go to the Matte field and choose that very same Eyedropper Color as my
02:02Matte color so that I don't get a halo of another color around the transparent
02:06areas of the graphic.
02:07Now, let's preview this in a web browser.
02:09I'll click the Preview in Browser icon and there we can see our graphic against
02:14the red background, with the transparency around the edges that make it appear
02:17rounded and a bit of transparency between this white border and the image.
02:22Now, this isn't a perfect job. Here in the text you can see a little bit of red
02:26and around the corners the graphic is a little rough, and that's because those
02:29areas were very anti-aliased and had lots of different colors in them, and we
02:34only replaced the single green with our transparent pixels.
02:38So we do have a little bit of a rough area, but it's not bad, given the amount of
02:41time and effort that it took.
02:42So now I'll close the browser and going back into Save For Web & Devices, I'll
02:47simply click Save and on my Desktop, I'm going to make another folder, just as we
02:52did in the last movie, and save into that folder.
02:56And I'll save both HTML and Images so that I get my background with its red
03:00color and then I'll click Save.
03:02When I go out to the Desktop, there I see my flavor folder and if I open that, I
03:08see an images subfolder created by Photoshop and in there is flavors.gif.
03:14And if I open that file to see what it looks like, here it is with its
03:18transparent pixels that were remapped to transparency from within the Save for Web window.
03:23So I'll close that and I'll open the HTML file that was created so that we can
03:28see that graphic on the red web page background.
03:31So that's how you can optimize an image that has no transparency as
03:35a transparent GIF.
Collapse this transcript
Simulating transparency with JPEGs
00:00Until now, we've been talking about optimizing images that are illustrations and
00:05that, therefore, optimize well in the GIF format or the PNG 8 format.
00:08But what happens when we have an image that is a photograph, like this one, and
00:12it has some transparent areas in it, like these rounded corners here and in
00:17which we want to retain those transparent areas when we put the photograph on a web page.
00:22Here is our conundrum.
00:23We know that photographs optimize best in the JPEG format and don't look very
00:27good when optimized as GIFs.
00:29We also know that the JPEG format does not support transparency.
00:33So let's take a look at the problem and see if we can come up with a solution.
00:37I'm going to go to the File menu and down to Save For Web & Devices.
00:41In the 2-Up view of Save For Web & Devices, on the left, I see my PSD and this
00:46shows me transparency around the corners of the photograph.
00:49On the right, we see a preview of how the file would optimize in the JPEG format,
00:54because we've chosen JPEG from here in the Format menu.
00:57The take home point here is that when the format is set to JPEG, you do not
01:01have transparent pixels.
01:03By default, any transparent pixels will fill in with white.
01:06So what can we do to make this photograph appear to have rounded edges when set
01:11against a web page background?
01:12We're going to stimulate the look of transparency by matching these corners to
01:16the color our page background.
01:18We'll start by going to the Eyedropper in the Save For Web & Devices window,
01:22selecting that and with the eyedropper, I'm going to click on a green color, one
01:26of these lighter greens in the image and that set the eyedropper color to green.
01:31Now, I'm going to go to the arrow on the right Save for Web window and click
01:35there and choose Edit Output Settings.
01:37As we've learned to do, we'll go to the second menu and from there, we'll choose Background.
01:41Here, if there is anything in the path area, select that and delete it, because
01:45we want to use a solid color background in this example.
01:48In the Color field, I'm going to click and I'm going to choose Eyedropper Color
01:52as my page background, and that's the very same green that we've set there in
01:56Eyedropper slot, in the Save For Web window.
01:58I'm going to click OK.
02:00Now, let's preview what we have, by clicking the Preview in Browser icon at the
02:04bottom of Save For Web & Devices.
02:06Well, this isn't exactly right because now I've got a green background, I've got
02:10my photograph, but wherever there were transparent pixels in the original file I
02:14still have white, which is the default.
02:16Let's go back and fix that by setting our Matte color to the very same green
02:20as our webpage background and then those corners will just blend in with the background.
02:24It won't be real transparency, but our photograph will look like it has rounded corners.
02:29Here's how that works.
02:31I'm going to close the Web browser and in Save For Web & Devices, I'm going to
02:34go to the Matte field.
02:36I'll click the arrow on the Matte field and I'm going to choose Eyedropper
02:39color, which again is our green that's over here in the Eyedropper field.
02:44And you can see that those corners have filled in with green.
02:46And now if I preview, the photograph really does look like it has rounded corners.
02:52So that is how you can simulate the look of transparent pixels when you're
02:56optimizing in the JPEG format that doesn't support transparency.
03:00This works great against a solid color background, but it isn't likely to work
03:03as well against a patterned background.
03:06Let's take a look at that.
03:07I'm going to close the Browser window and I'm also going to cancel out of Save
03:12For Web & Devices so that I can come back to the main screen in Photoshop and
03:16open a background tile.
03:19I've opened cup_tile.gif from the chapter10 Exercise Files folder and I'm going
03:24to get my Eyedropper tool in the Toolbox and click in the primary color here,
03:28this medium green and then I'll close cup_tile.gif.
03:32Now, that medium green is here in our Toolbox in the Foreground color box,
03:36I'll go to File and Save For Web & Devices again and this time, I'm going to
03:41set that cup_tile.gif as our repeating background, by clicking the arrow on
03:45the right side of the Save for Web & Devices window, choosing Edit Output
03:48Settings, from the second menu, choosing Background and in the Path field,
03:53clicking the Choose button and navigating to chapter10 transparency and
03:58choosing cup_tile.gif and then clicking Open. And I'll click OK.
04:03Now, what I want to do is to choose, in the Matte field, the medium green that we
04:07sampled from cup_tile.gif.
04:10To do that, I'll click on the right side of the Matte field on the arrow and I'm
04:13going to choose Foreground Color, which is that medium green that's in our
04:16Foreground Color box in the Toolbox.
04:19And sure enough, the pixels at the corners fill in with that light green.
04:24Now let's preview and see how this looks against that repeating tile.
04:28It's not too bad, but it really isn't perfect because wherever we have
04:32those transparent pixels filled in with solid color, we don't see our
04:36patterned background.
04:37You may be able to get away with this when you have a thin background like this
04:40one, but it won't look even this good if you have a thicker pattern design in
04:44your background of your webpage.
04:46Let's go back into Save For Web quickly and just finish this up by clicking
04:50the Save button, going to the Desktop, clicking New folder, I'll call this
04:55JPEG, and clicking Create,
04:57then in the Format field choosing HTML & Images, and clicking Save.
05:03Now, I'll look on my Desktop and there is my JPEG folder.
05:07Inside, we have teapot.html, which takes its name from the image with which we
05:12started, and in the images folder we have our teapot.jpg and we have a copy of
05:18our background tile.
05:19Let's open that teapot.jpg to see it and there it is, with its light green edges.
05:26Let's go back and open our HTML file and we see how this looks against our
05:30repeating background tile.
05:32So that is how you can simulate transparency when you have to save an image
05:36in the JPEG format.
Collapse this transcript
11. Creating Animations
Creating animations from layer visibility
00:01Animation is becoming more and more popular on the web.
00:04One simple way for you to get involved and add animation to your website is to
00:09create a GIF animation in Photoshop CS3 and that's what we're going to be
00:13covering in this chapter.
00:15In the first few movies, we'll be looking at how to build the artwork for
00:19animated GIFs and then in a later movie, we'll learn how to optimize and save an animated GIF.
00:25Some things to think about upfront when you're creating animated an GIF are that
00:29you don't want to have too many frames in your animated GIF, because it can get
00:33quite large, quite quickly.
00:35So animated GIF is most appropriate for short animations, like banner ads or small logos.
00:40Also, animated GIF is, of course, a GIF format.
00:45You can animate a JPEG and so if you have photographs that you're going to
00:49include in your animated GIF, you're going to have to be satisfied with
00:52optimizing them in the GIF format, even if the quality of the photograph isn't as
00:56perfect as you might like. That's the trade off.
01:00The advantage of using animated GIFs as opposed to other kind of animations
01:04that you would create elsewhere in other programs is that animated GIFs can play anywhere.
01:09They don't require any special plug- ins or special code and all popular web
01:14browsers will play an animated GIF.
01:16So let's get started creating an animated GIF in this movie using a style of
01:21animation called frame-by-frame animation.
01:24What we're going to be doing is creating frames manually in Photoshop CS3's
01:29Animation panel and then on each frame, will be turning on and off the visibility
01:35of individual layers to change the content of each frame.
01:39This is reminiscent of the kind of old-fashioned cell animation that
01:43cartoonists used do.
01:45So let's see how we create a frame-by-frame animation in Photoshop using layer visibility.
01:52I've opened the Animation panel from the Window menu at the top of the screen.
01:56When that panel opens it always shows the first frame of the animation and that
02:01frame reflects the arrangement of the layers in the Layers panel.
02:05So let's take a look over there.
02:06We can see that we only have two layers that are visible.
02:10We have this cup layer, which I will turn on and off so you can see its
02:13content, and then we have our background layer and that's what we're going to use
02:18for our first frame.
02:20Just to show you what else we have here, we have a fan layer with this fan on it,
02:25I'm going to turn that off for the first frame, and then we have three smoke layers.
02:30We have 1 smoke curl, 2 smoke curls, and 3.
02:35I'm going to turn all three of those off for this first frame of our animation.
02:38Now, I'm going to go to the Animation panel and create another frame by clicking
02:45this icon right here at the bottom of the Animation panel.
02:49This is to Create New Frame icon.
02:52When I click that, I get frame 2, which is now an exact copy of frame 1.
02:58Let's change the content of frame 2.
03:00With frame 2 highlighted in the Animation panel, I'm going to go over to the
03:04Layers panel and I'm going to make another layer visible, the smoke 1 layer, by
03:09clicking in its Visibility field to add an eye icon there and you can see in the
03:14image, we now have that first smoke curl showing.
03:18So let's do the same thing on another frame.
03:21I'll go to the bottom of the Animation panel and I'm going to click the New
03:24Frame button. That creates frame 3, which is currently just a copy of frame 2.
03:30With frame 3 highlighted in the Animation panel, I'll go over to the Layers panel
03:35and I'm going to make another layer visible, the smoke 2 layer, which gives us a
03:40second smoke curl in our image.
03:43I'll do this all one more time by going over to the Animation panel, clicking
03:47the New Frame button, making sure the new frame, frame 4, is highlighted in the
03:53Animation panel and moving to the Layers panel and turning on yet another smoke
03:57layer, the smoke 3 layer.
04:02There is one more thing I'd like to do to set up the appearance of this animated GIF.
04:06I'd like to turn on that fan and have it on on all frames of animation.
04:13With any one of the frames selected, in this case frame 4, I'm going to go to
04:17the Layers panel and I'm going to click on the visibility of the fan layer.
04:22Now if I were to click on the other frames, you would see that although the fan
04:25is showing on frame 4, it's not showing on the other frames.
04:29So I'm going to go back to frame 4 and then I'm going to Layers panel and I'm
04:33going to click directly on the fan layer, not just in its Visibility field, and
04:38then I'm going to the top of the Layers panel and I'm going to click on the
04:41unified layer visibility icon there and I'll click Match in this prompt and now
04:48if I click back on the other frames, you see that we have our fan showing on all frames.
04:54So what I'd like to do now is to is to preview the animation.
04:56I'm going to go back and click on the first frame and then I'm going to
04:59click the Play button at the bottom of the animation panel and that's kind
05:03of scary-looking animation,
05:04so I'm going to click the stop button.
05:06Let's see what we can do to fix that problem.
05:09The problem is that there is no time in between the frames.
05:12So I'm going to select all the frames by clicking on the first, holding the
05:16Shift key and clicking on the last frame and then I'm going to go to the Time
05:20Delay menu, beneath any one of the frames, click and choose a time delay.
05:26I'm going to choose just 0.2 seconds here.
05:31Now I'll click back on the first frame and I'll click the play button again to
05:34preview what we've changed.
05:37As you can see, there is now more time between the appearance of each smoke curl.
05:42I'm going to click the Stop button again, because I see something else I
05:45would like to change.
05:46I'd like to have some delay at the end of each loop of the animation before it
05:51starts playing again.
05:53So we'll stop it and we'll click on frame 4 and I'll go to the Time Delay
05:58menu underneath frame 4 and I'm going to choose a little bit more time here, say 2 seconds.
06:04Now I'll go back and preview again by clicking on the first frame and
06:08clicking the play button and as you can see, there is a bit of hesitation
06:12between each loop of the movie.
06:19Now I will tell you that the timing that we see here is not necessarily the same
06:23timing that each of our viewers is going to see in their web browser.
06:27Because the speed of any animated GIF has a lot to do with the individual
06:31processing speed of each viewer's computer.
06:34So all we can do here is to get a sense of the relative time at which each frame appears.
06:41Let's say we're satisfied with that. What else can we do here?
06:44Well, one thing that I'd to change is the fact that the animation keeps looping
06:48over and over and over and never stops.
06:52I'm going to stop the animation just a moment by clicking the Stop button and
06:56show you how we can control that from the Loop menu here on the left side of
07:01the Animation panel.
07:02If I click on that menu, I can choose to have the animation play Forever, as it's
07:07doing now, or just Once.
07:09I don't really like to choose Once, because if a viewer is on a slow connection
07:13like a dial-up, the animation might play all the way through before it even
07:16downloads to his computer.
07:19So what I'm going to do is choose Other and in this menu, I'm going to have the
07:24animation play just three times by typing 3 and clicking OK and now I'll click
07:31back on the first frame and play it one more time and we will see the animation
07:36play and hesitate, play a second time and hesitate and a third time and now it's finished.
07:41So now I'm happy with the animation.
07:45Normally, at this point I would open the Save For Web & Devices window and
07:48optimize and save my animated GIF from there.
07:51But before I show you how to save and optimize, which I'll do in another movie
07:55in this chapter, I'd like to show you a couple of more ways to build an animated GIF.
08:00Here we've learnt how to use a frame-by-frame technique turning layer
08:04visibility on and off.
08:06In the next movie, we're going to talk about how we can have the computer do some
08:09of the work for us by tweening an animation using layer opacity.
Collapse this transcript
Tweening with opacity
00:01In the last movie, we learned how to create a GIF animation by manually
00:05creating frames in the Animation panel and turning layer visibility on and off
00:09on different frames.
00:11You don't always have to do all of that work yourself.
00:14You can have the computer do some of the work for you, which is, after all, what
00:17computers are good for, by using the Tweening feature in the Animation panel.
00:23Tweening stands for in between, because you're going to create a couple of
00:27frames yourself and then let Photoshop create the frames in between.
00:31I have opened the Animation panel from the Window menu and as we know, it always
00:35shows you the first frame of an animation when it opens.
00:38I am going to create a second frame now by clicking the Create New Frame button
00:43at the bottom of the Animation panel.
00:45Frame 2 is now a copy of Frame 1 and I'd like to make an important change
00:49between Frame 1 and Frame 2.
00:51I would like to have the text, white tea, fade in.
00:56So, I want white tea to be completely opaque on Frame 2, but I want it to be
01:02completely transparent on Frame 1.
01:04So, I am going to go back and select Frame 1 of my animation.
01:08Then I'm going to go over to the Layers panel and going to make sure that the
01:12white tea layer is selected.
01:15And then, very important, I'm an uncheck Propagate Frame 1.
01:20Why am I doing this?
01:21Because I am about to make a change to Frame 1 and I don't want that change to
01:25be repeated on to Frame 2.
01:27That's what Propagate Frame 1 means.
01:29So, I am going to uncheck Propagate Frame 1.
01:33Then I will go up to the Opacity field and I am going to click-and-drag to left
01:37when I see my double-pointed arrow there, to bring the Opacity of the white tea
01:41text down to 0% on the first frame of the animation.
01:45Now, if I click on the second frame, I see that white tea is still at 100% there.
01:52With the second frame selected, I am going to tween, by clicking this button,
01:57the Tween button at the bottom of the Animation panel.
02:00That opens the Tween dialog box.
02:03Let's look at this first menu.
02:06I'm going to tell Photoshop that I would like it to Tween from the currently
02:09selected Frame 2 to the previous frame, which is Frame 1.
02:15Then I'm going to say how many frames I would like Photoshop to add in between
02:18those two frames and I just will arbitrarily try 15.
02:23You don't want to add too many frames when you're making an animated GIF because
02:26each frame will increase the size of the final product.
02:31I'm going to leave everything else here at its default.
02:35Even if are not going to use all layers, in this particular case, I just leave
02:39it checked. It can't hurt and it avoids making any mistakes, and the same is
02:43true of the Parameters.
02:44I generally leave them all checked, even if I'm not sure that I'm actually going
02:48to vary all of the parameters, because it just avoids leaving anything out.
02:53By the way, the parameters area is telling us that when we make an animated
02:56tweened GIF, we can change either the Position of our artwork, the Opacity of
03:02the artwork or the Layer Effects on the artwork.
03:05So now I am going to click OK and keep your eye on the Animation panel, where
03:10you'll see that we now have many more frames than we did a second ago.
03:14I am going to click-and-drag on the bottom-right of the panel to expand the
03:17panel all the way to the edge of my screen.
03:20And you can see that we now have 17 frames, the two that I created, plus the 15
03:25that we told Photoshop to make for us.
03:28Let's go all the way back to the beginning by scrolling over to the left
03:32and clicking on that first frame and then we'll click the Play button to
03:36preview what we've made. Let me stop this.
03:40You can see that the animation is moving from completely transparent to
03:44completely opaque and then looping back around.
03:47Well, clearly, we need a little bit of delay between all of these frames,
03:51so we are going to select all the frames.
03:53I could do that, as I showed you in the last movie, by Shift+Clicking the first
03:57and last frames, or I can go to the Animation panel menu here in the right side
04:02of the panel and choose from there Select All Frames.
04:06This is the easier way when you have lots of frames, as we do here.
04:10With all the frames selected, I can go to any one of them and click down there
04:13and I can choose some time delay, let's say 0.2 seconds.
04:19Now, I will go back to my first frame and I will click on the Play button and
04:23we will see that the text slowly fades in and then it loops and starts doing that again.
04:28So, I am going to stop the preview and what I would like to have happen here is
04:34not for the text to continually fade in.
04:36I would like the text to fade in and then slowly fade out.
04:40How can we do that?
04:42What we're going to do is select all of the frames, copy them and then
04:47we'll reverse them.
04:50We already know how to select all the frames. I am going to go to the panel menu
04:53on the right side of the Animation panel and choose Select All Frames.
04:59From that same menu, I am now going to choose Copy Frames and then I'm going to
05:06go back a third time and choose paste frames.
05:11Photoshop asks where I want to paste the new frames and I would like to paste
05:16these after the selected 17 frames. I will say OK.
05:23And now I am going to scroll over and I can see that now my animation doesn't
05:28stop at Frame 17. I have many more frames after that.
05:31Those are the new frames that we just copied and pasted.
05:35Let's preview to see what we have now.
05:37To go back to Frame 1, I am going to use the controls this time at the bottom of
05:41the Animation panel, to go all the way back to the first frame and then I will
05:45click the Play button.
05:46And as you can see, we have our text fading in but then, it starts again, fading in.
05:52So, I will stop this and what I'm going to do now is go back in and select the
05:59brand-new frames that I just added, those begin at frame 18.
06:02So, I click on Frame 18 and I'm going to scroll way to the end and I'm going to
06:08hold the Shift key and click on the last frame, Frame 34.
06:12Now, with just those ending frames selected, I am going to go back to the
06:16Animation panel menu and I'm going to choose Reverse Frames.
06:22Only those last frames will be reversed.
06:24And now, we'll start all the way from the beginning by clicking the double
06:27pointed arrow and we will preview by clicking our play button and we should have
06:32the animation that we want where the text fades in and then slowly fades out.
06:41So, let's stop the animation there and that's how you create Tweened animation,
06:47using the Opacity property of a layer.
06:50You can Tween other characteristics of a layer, as we will see in the next movie,
06:54where we learn how to Tween with Layer Position and Layer Styles.
Collapse this transcript
Tweening with position and Layer Styles
00:00Now that you understand the principle of tweening and you know how to
00:03tween layer visibility, let me show you how you can tween a couple of
00:07other layer characteristics.
00:09Using the file white_tea_02.psd from the Chapter 11 Exercise Files folder, I am
00:15going to show you how to tween Layer Position and Layer Style.
00:20Here you can see that we have two layers in our file, the white tea text and the
00:25background teapot layer.
00:27I'm going to move the white tea layer in the first frame of this
00:30animation, which as we know is created automatically for us when we open
00:34the Animation panel.
00:35So with the white tea layer selected, I'm going to go to the Toolbox and
00:39select the Move Tool.
00:40I am going to hold down the Shift key as I click-and-drag and holding the Shift
00:44key constraints me from moving from side to side.
00:47I am going to take the white tea text and move it just to the top of the image
00:51until I see that pink Smart Guide telling me I am there and then I will release
00:55the mouse and the Shift key.
00:56Now I am going to make a second frame in the animation by going to the Create
01:01New Frame button at the bottom of the Animation panel, clicking and making Frame
01:052, which is now a copy of Frame 1.
01:09With Frame 2 selected, I am again going to hold the Shift key and with the Move
01:14Tool, click-and-drag the text to the bottom of the image.
01:17When I get down there, I will stop when I see the pink Smart Guide and release
01:22the mouse and the Shift key.
01:25As you can see, when the text gets over the teapot in its journey from top to
01:28bottom, if I were to tween now between Frame 1 and Frame 2, the text would move
01:34nicely from top to bottom.
01:35But as it went by the white teapot, it would be hard to see the text.
01:39So, I would like to have the text get dark as it moves toward the bottom.
01:44To do that, we are going to tween another layer characteristic, which is Layer Style.
01:49With Frame 2 selected, I'm going to go back to the Layers panel and with the
01:54white tea layer selected, I'm going to add a Gradient Overlay Layer Style.
01:58I will go to the fx button at the bottom of the Layers panel, click and I will
02:03choose Gradient Overlay.
02:05Because I happen to have black and white selected as my Foreground and
02:09Background colors here in the Toolbox, my default Gradient is black to white.
02:14If you have other colors selected there, you will get a different default Gradient.
02:18But we can change that by clicking the Gradient bar in the Layer Style dialog box.
02:25That opens the Gradient Editor and here I can change the color from black to a
02:34dark purple by double-clicking this color-stop to open the Color Picker.
02:40In the Color Picker, I will movie the Hue slider up to the purple area, because I
02:43would like a nice dark purple.
02:45And I'm going to click on a dark purple like that one and say OK.
02:50Now, I am going back to the Gradient Editor where I'm going to double-click on
02:54this white color-stop.
02:56That opens the Color Picker again, and again, I'm going to go back to the purple
03:00area by moving the Hue slider and I'd like to get just a nice light purple,
03:06something like this, maybe even a little bit lighter. There we go!
03:13And I will click OK.
03:16Now that I have changed the colors in this Gradient, I can just click OK and
03:20click OK again in the Layer Style dialog box.
03:25Here you can see in the Layers panel that I now have a Gradient Overlay on the
03:29white tea layer on the second frame of the animation.
03:33If I click back to the first frame of the animation, we can confirm that we
03:36don't have our Gradient layer style there and the text goes right back up to the top.
03:43Now, what we would like to do is to have a smooth transition between Frame 1 and Frame 2.
03:47So, we are going to use Tweening.
03:51With Frame 2 highlighted in the Animation panel, I am going to click the Tween
03:55button at the bottom of the Animation panel to open the Tween dialog box.
04:00Here I do want to Tween with the previous frame, Frame 1, and for frames to add,
04:07I am going to add even more frames than we see here, I will try 25 frames.
04:12The reason is that I know that the text has to move quite a long way and I would
04:16like that movement to be smooth.
04:18The more frames that you add to an animation, the smoother it will appear to run.
04:22Of course, the trade-off is that the animation will be larger.
04:26But we will work with that for now.
04:29I'm going to leave All Layers selected, as well as all three of the Parameters,
04:33even if I'm not using them all, just to be safe and I will click OK.
04:38Photoshop has now made 25 new frames in between the two that I made.
04:43Let's preview how this animation looks with its new frames.
04:46I'm going to click the double-pointed arrow on the left-side of the Animation
04:50panel, to go back to the first frame and then Play.
04:54And the text moves nicely from top to bottom, but it is going too fast,
04:59so I am going to stop this animation and select all the frames by moving to
05:03the Animation panel menu icon, here on the right,
05:07clicking and choosing Select All Frames.
05:09Then I will go to the bottom of any of the selected frames and I will click
05:14the Time Delay menu and I am going to choose just 0.1 seconds in between each
05:19frame here and we will go back to the beginning by clicking the double-pointed
05:22arrow and then Play.
05:26And as you can see, the text moves down and as it moves down, it changes from
05:31white to that nice Gradient Overlay of light purple to dark purple.
Collapse this transcript
Optimizing animated GIFs
00:00Now that you know how to build an animated GIF using the frame by frame
00:04technique or by tweening, it's time for the last step in any animation and that
00:09is to optimize it and save it.
00:12I am working here with white_tea_03.psd, which is a fresh copy of the file that
00:18we used in the last movie about tweening with Layer Position and Layer Style.
00:23So, if you have been working along with me and you still have that image open
00:25on your Desktop, you can use that one with all of its frames.
00:29To optimize the image, we are going to go to our old friend, the Save for Web & Devices window.
00:33I will move to File and I will choose Save for Web & Devices.
00:38I've chosen the 2-Up tab here, so I can see much of my image.
00:42And now, I'll start to optimize the preview of the animated GIF on the
00:45right side. On the left side, we have the image as it looks as a PSD file.
00:50Optimizing an animated GIF is just like optimizing a static GIF, all the
00:54controls here on the right are the same.
00:56The only difference is that an animated GIF is likely to be much bigger than a
01:00static GIF because it does have multiple frames in it.
01:03So, for example, before I've played with any of the optimization controls, I
01:08have a GIF of a 147.6K here, which is pretty big.
01:12So, I am going to go over to the controls and see what I can do there.
01:15First of all, it's important to have the Format control set to GIF.
01:20You cannot have an animated JPEG or these other formats.
01:24Unfortunately, we also cannot save out as a SWF file.
01:29That's because of the demise of ImageReady.
01:31In Creative Suite 2, we were able to export animations in the SWF format, but we
01:36can no longer in CS3.
01:38If you do want to make a SWF animation, then you'll have to create it and
01:42save it from other Adobe CS three programs, like Flash or Illustrator or After Effects.
01:49Let's see what we can do here with the GIF settings to lower the File Size.
01:53I am going to Colors field and let's see if we can get this image down to 32 colors.
01:59Well, it really isn't looking very good here around the teapot.
02:01So, I am not going to accept that.
02:03In fact, I don't even like the way it looks at 64 colors, which is where I started.
02:07I am going to take it all the way up to 128.
02:10And now those soft areas look a lot better.
02:14But our File Size is even bigger.
02:16So, let's see if we can add a little bit of Lossy Compression.
02:19I will click there and I'm just going to increase the Lossy slider a bit.
02:23Let's see if I can go a little bit higher.
02:28It's not looking great, but I think I can live with this and now I've gotten the
02:31File Size down to 107.7K.
02:35We don't have any Dither set, so there's nothing really to do there to reduce
02:38the file size and we could just see if we can use a different palette, checking
02:43Perceptual, which brings us down a little bit further, Adaptive, which also
02:51gives us a File Size at least a K smaller than the selective reduction palette.
02:56So, I will keep it at Adaptive.
02:58Now, one thing to keep in mind, when you are optimizing an animated GIF is
03:02that every single frame of the Animation is going to optimize with these
03:06very same settings.
03:07So, it's important to run through the frames of animation, making sure that they
03:11all look good with the settings that you have chosen.
03:14You can do that from the bottom of the Color Table here, where we have these arrows.
03:19This central arrow will just play the animation, like that, and the next arrow
03:26over lets you step through the frames of the animation.
03:29So, we can do that, and as we go down, I see that we are noticing a little bit of
03:33banding in the Gradient Overlay on the text,
03:37but I think we are going to live with that, because we don't want to get the
03:40file size much bigger and this text will be moving, so it's unlikely that the
03:45viewer will really notice that banding.
03:47So I will go through all the frames, and if I think it looks okay on every
03:51frame, then I'll leave it as it is.
03:53So, what else could we do to reduce the file size of this GIF?
03:55Well, there really are only two other choices and they are both pretty extreme.
03:59One thing we could do is to cancel out of Save for Web & Devices,
04:03go back to our Animation palette and delete some of the frames there.
04:07But I hesitate to do that, in this case, because this text is moving down from
04:11top to bottom of the image and I'd like that movement to be smooth.
04:15The more frames that you have in an animated GIF, the smoother it looks.
04:18So, I don't want to reduce the number of frames.
04:21The only other thing that we could do is to reduce the actual dimensions of the image.
04:26There are many times when you can't do that because you're designing for
04:29specific size, but sometimes you can.
04:31So, let's just do it to see how it will reduce the file size.
04:35Notice that, right now, we're at 106.7K.
04:38If I go to the Image Size tab here, behind the Color Table, I can choose to
04:43reduce the Width and Height to some other number of pixels, or I can reduce the
04:49Size by a percentage.
04:50So, let's just see what happens if we set this to, say, 60% of its current size.
04:55And we want to make sure that when we are reducing file size, we choose the
04:59appropriate algorithm that Photoshop will use to throw away information.
05:05The best choice when you are reducing the size of any file is to choose Bicubic Sharper.
05:10That will do the best job of keeping the image sharp as it is reduced in dimension.
05:19Now, I am going to click Apply and as I do, keep your eye here on the file size of this GIF.
05:23We have taken it down to a respectable 59.47K and we did have to sacrifice quite
05:31a bit of Width and Height though to do that.
05:33So, now I am all done optimizing and I am going to click the Save button at the
05:36top of the Save for Web & Devices window.
05:40That opens the Save Optimized As window.
05:43Here, I'm going to navigate to my Desktop and then I am going down to the Format menu.
05:49This time, instead of saving both HTML and Images, I'm going to save Images Only.
05:55The reason for that is that you do not need an HTML file in order to play a GIF.
06:00A web browser will just play a GIF without the HTML.
06:03So, we will choose Images Only and then I am going to click Save.
06:10Now let's look on the Desktop and there is our animated GIF.
06:14It looks just like a static GIF file.
06:16I am going to open that in a Web Browser.
06:19On a Windows machine, go to File> Open and navigate to this file.
06:23On a Mac, I can just take the file and I can drag it on top of my default Web
06:28Browser and the animation starts to play.
06:32As I mentioned, the Web Browser does not need any HTML to play this animated GIF.
06:37It just sees it and knows what to do with it.
06:40So that's how you optimize and save an animated GIF in Photoshop CS3.
Collapse this transcript
Optimizing transparent animated GIFs
00:01In this chapter, we learned all about creating animated GIFs and in the preceding
00:05chapter, we learned about making transparent GIFs.
00:08Let's pull all of those skills together and talk about how to optimize a
00:12transparent animated GIF, in other words, an animation that contains
00:17transparent pixels.
00:18I have already created such an animation for you.
00:21Let me show you what it looks like.
00:23It's chai.psd from the Chapter_11 Exercise Files folder.
00:28I am going to click the Play button at the bottom of Animation palette and keep
00:31your eye on the document window to see this design fade in and then another part
00:35of the image fade in and then those smoke curls just pop in with a slight
00:40delay on each one of their frames.
00:42So, we use the same principles here that we learned in earlier movies on
00:46creating animated GIFs to make this animation.
00:49Now how would we optimize an animation like this so that the transparent pixels
00:54in this Photoshop file stay transparent, so that we could place this animation
00:59on a webpage and be able to see through the object to the background below?
01:05For that, we are going to go to File, and down to Save for Web & Devices.
01:11Here in this Save for Web & Devices Window, I've chosen the 2-Up tab.
01:16On the left side, we see the image as a Photoshop document and on the right
01:20side, we see how it would look optimized as an animated GIF.
01:24The first thing you'll notice about the preview on the right is that it does not
01:28contain the gray and white checkerboard that indicates transparency.
01:32If we look at the controls on the right side of the Save for Web &
01:35Devices window, we see why.
01:37It's because the transparency checkbox isn't checked.
01:41So, let's do that and right away, you see those transparent pixels in the GIF preview.
01:47I want to see how this transparent animated GIF will look on a solid color
01:52background of a webpage.
01:54So, I am going to set that up by going over to the Toolbox on the left-side of
01:58the Save for Web & Devices window and clicking in the square of color there to
02:03set a new Eyedropper color.
02:06That opens the Color Picker and there, I am going to choose a beige color.
02:11I happen to know the RGB values for the color I want, so I am just going to type those in.
02:15There are 195 red, 195 green and 145 blue.
02:23I will click OK, and that gives us a beige color as our Eyedropper color.
02:28Now, I'm going to set up the webpage background to be that same beige color by
02:35going to the arrow on the right side of the Save for Web & Devices window and
02:39choosing Edit Output Settings.
02:42Here in the Output Settings dialog box, I will click on the second menu from the
02:46top and choose Background.
02:49As we learned in the chapter on Transparent GIFs, here we want to make sure that
02:53our animated illustration is considered a foreground image.
02:57So, we will select Image.
02:59We are going to skip the Background Image area because we're not going to have
03:04a repeating graphic background here. Instead, we're going to have a solid color page background.
03:09So, to the right of the Color field, I will click the arrow and from the pop up
03:14menu, I am going to choose the Eyedropper color as my page background.
03:18That samples the color here from the eyedropper slot.
03:22And then I will click OK.
03:25Let's preview this animated GIF against that beige background
03:29by going to the Preview and Browser button at the bottom of the Save for Web &
03:32Devices window and clicking and here comes our animation fading in and playing.
03:41As you can see, the edges of the animation look quite jagged.
03:45If you've watched the movies on Transparent GIFs, you know how to fix that.
03:50Let's go back into Save for Web & Devices and we are going to move to the Matte field.
03:57If I click the arrow on the Matte field and I choose the Eyedropper color, the
04:01pixels at the edge of the transparent animated GIF fill with that same beige
04:06that I had placed in the Eyedropper color box.
04:10If I take the Zoom tool and zoom in, you will be able to see that better, right here.
04:16Now, let's preview our animated GIF against the beige background, by clicking
04:21the Preview and Browser button at the bottom of Save for Web & Devices.
04:26As the animation plays in my web browser, the edges look nice and smooth,
04:32because we have used that matte color to camouflage the jaggedy edge.
04:36I am going to close the web browser and finish up with my optimization settings.
04:46Let's go back to 100% view by double- clicking the Zoom tool in the Save for Web
04:50& Devices window, and then, over on the right, let's see if we can reduce the
04:55number of colors in this animated GIF.
04:57So, instead of 128 colors, let's try 64.
05:01The problem here is that when we choose 64, the smoke curls get jaggedy edges.
05:08Let's just take a look at the other frames and see how they look.
05:11So, I am going to go down below the Color Table and click the arrow with
05:14the line to the left of it, and that will let me step through each frame of this animation.
05:28So, even though we have smoothed out the outside edges, I can see that with 64
05:32colors, this is not going to work for me on these internal elements, like the
05:36text and the smoke curl.
05:38So, what we will do is go back to 128 colors and at this point, we will either
05:44have to live with this size or reduce the entire dimensions of the animated GIF.
05:49For now, we will leave it, and we will click Save.
05:51I am going to save on my Desktop and this time, I am going to set format, not to
05:59Images Only, but to HTML and Images, because I want to save that HTML background with
06:05our beige color in it, along with our transparent animated GIF.
06:09I will click New Folder and I will call this folder 'transan', click Create and click Save.
06:25Now, I am going to go out to my Desktop, look inside my transan folder, there is
06:30my HTML file, and inside the images folder, I have my animated GIF.
06:35If I go back and I open that HTML file, we will see our animated GIF playing in
06:40a web browser with nice, smooth edges, perfectly optimized for the web.
Collapse this transcript
Animated slideshows
00:01In this movie, I would like to show you how to make a slideshow of photos as an
00:05animated GIF in Photoshop CS3's Animation panel.
00:11I'm starting with two images open from the Chapter_11 Exercise Files folder.
00:15hands.psd is a photograph that I want to add to my slideshow, and
00:20slideshow.psd is the beginning of the image that we're going to make into an
00:25animated slideshow.
00:27Basically, what I've done is taken four different photographs and pulled them
00:31all into one Photoshop document.
00:36Let me show you what's here. If I turn the Eye icons off, one by one you can see
00:41the various photos in slideshow.psd.
00:45To show you how I got all of these photos into slideshow.psd, I will bring in
00:50hands.psd as the last photo in the slideshow.
00:54First, with slideshow.psd activated, I am going to make sure I'm on the top
01:00layer in the Layers panel.
01:01Then I am going to click on hands.psd and make sure I have the hands
01:06layer selected there.
01:07Then I will get my Move tool, and I'm going to click-and-drag from hands.psd
01:14into slideshow.psd and I'm going to hold down the Shift key as I do that to
01:19center hands.psd in slideshow.psd.
01:23Now, I am going to close hands.psd.
01:29Here in slideshow.psd, I see that my hands image is too big, so here is a trick
01:35for resizing that hands image.
01:39On a Mac, I am going to hold down Command+T for a Free Transform, on a PC that's
01:44Ctrl+T. And then on a Mac, I will hold down, Command+0, on a PC Ctrl+0 and that
01:53expands the canvas, so that I can reach the resizing handles on the hands layer.
01:58I am going to click on the Animation panel by its Title bar and drag it down out of the way.
02:05And then I'm going to click on one of these corner anchor points, I am going to
02:09hold down the Shift key, so that I don't distort the image, and I'm going to
02:14drag in from the canvas to the edge of the photographs.
02:21Again, holding the Shift key, I will do the same thing from the bottom left.
02:27And I'll get my photograph so it's just almost all showing there in the slideshow.
02:32And then I will click the big checkmark in the Transform Options bar to
02:37commit that transform.
02:38Now, I am going to double-click my Zoom tool to go back to 100% view.
02:43As you can now see in the Layers panel, we have the hands on a separate layer,
02:48above all of the other photographs.
02:54So, now I am going to turn all those layers back on.
02:58The next task is to get each one of these layers into the Animation panel, which
03:03I will bring up for you, with each layer as a separate frame in the animation.
03:10I could use the technique that I showed you in the frame by frame animation movie
03:14earlier in this chapter, of creating a new frame and then turning the
03:20Visibility of different layers on and off on each frame, but that takes quite a
03:24bit of time in this case.
03:25But there is a faster way to do this and that is to go to the Animation
03:30panel menu, on the right side of the Animation panel and from there, choose
03:35Make Frames From Layers.
03:38Photoshop comes to the Layers panel and automatically takes a layer and makes a frame out of it.
03:44And it did this for each one of the layers in this file.
03:48So, now if we were to click through the frames, keeping our eye in the document
03:52window, we will see that we have individual photographs, one on each frame.
03:57Now, I can see that there is no delay between these photographs.
04:00So, if I were to click on the first of the photographs and then click the
04:03Play button in the Animation panel, obviously the animations is going to play too fast.
04:08So, let me click Stop, and what I am going to do here instead is select all of
04:13these frames by clicking the last frame and then holding the Shift key and
04:16clicking the first frame, and as we've done in other movies, clicking the Time
04:20Delay menu and this time, I am going to choose 0.5.
04:24And that will set a delay of half a second for each of the photographs in the slideshow.
04:27Now, I am going to go back to the first frame and I am going to click the Play
04:31button and you can watch our slideshow play.
04:35That's fine, except for, I would like to have instead of these sharp
04:39transitions between slides, a cross dissolve between each slide.
04:43So, I am going to click the Stop button and I'm going to use Tweening to make that happen.
04:49First, I am going to click on Frame 1, hold the Shift key and click on Frame 2.
04:53Then I am going to go and click the Tween button at the bottom of the Animation
04:57panel to open the Tween dialog box.
05:00I am going to Tween with Selection, in other words, the two frames that I have selected.
05:06As the number of Frames to Add, I will try 5.
05:08I will make sure All Layers is selected and importantly, I will make sure that
05:14Opacity is checked as the Parameter to Tween,
05:17but I like to leave all three checked, as I've said in other movies.
05:20And then I will click OK.
05:22And as you can see, Photoshop has made five additional frames here, here, here,
05:28and here, and here between the two frames that were already in the slideshow,
05:33which are now Frame 7 and Frame 1.
05:35Now, let's do the same thing between the photo of the canisters on Frame 7 and
05:41the photo of the cups on Frame 8.
05:43I will Shift+Click to select those two frames and then I'll click the Tween button.
05:50All of my settings are sticking from the last time that I used Tween, so I can just click OK.
05:56And Photoshop makes five more frames in between those two photos.
06:00And now we will move over to the right and I will select the spilled tea image
06:03on Frame 13, hold the Shift key and select the cup's image on Frame 14, click
06:09the Tween button, accept these settings there and say OK.
06:13And I'll scroll over to get our last two photos, which are the cup's image on
06:18Frame 19 and holding the Shift key, the hands image on Frame 20.
06:24And again, I will Tween and say OK.
06:28Now, I will click the double-arrow to go back to the beginning, and I am going
06:32to play the animation.
06:33And you can see that it now does have a cross dissolve between each one of the photographs.
06:41When you play the animation here in Photoshop, as it becomes more transparent,
06:46you can see the gray checkerboard
06:48that represents transparency behind the photos.
06:51However, this isn't going to be a problem when we optimize the image as a
06:54GIF, because, as we've learned, we can't have this kind of semi-transparency
06:59in an animated GIF.
07:01Every pixel in a GIF is either on and off.
07:03So, we won't see the checkerboard.
07:04I am going to stop this Preview, and let's go into the Save for Web window
07:10and optimize this file.
07:11I will go to File and I will go to Save for Web & Devices, and here is my GIF on the right.
07:18It's quite big and so, I am going to change Diffusion Dither to No Dither.
07:25I might also try to lower the number of colors in this file and then, I'm going
07:31to play the animation right here, in the Save for Web & Devices window, so that
07:35I can see how it looks on every frame.
07:37And as you can see, we don't have that problem of seeing through to the
07:41gray and white checkerboard.
07:46Now, when you try this technique, make sure that you're using small photographs
07:49because your files can get quite big if you have multiple frames in this sort
07:54of animated GIF slideshow.
07:55I am going to click the Stop button and I'm ready to save this animated GIF
08:02slideshow by moving to the top of the Save for Web & Devices window and clicking Save.
08:07Out on my Desktop, I'm going to set format to just Images Only because all we
08:15need here is the GIF, and then I will simply click Save.
08:19I am going to go out to my Desktop, there is my slideshow.gif and I am going to
08:25open that in a web browser.
08:27I am going to drag that to my default web browser, or on Windows, choose File>Open
08:31in your web browser and navigate to your GIF.
08:34And as you can see, it plays in my default web browser.
08:38So, that's how you make an Animated GIF Slideshow in Photoshop CS3.
Collapse this transcript
12. Slicing
Understanding slicing
00:00In this chapter, we are going to be looking at Slicing.
00:04Before we start making our own slices, I wanted to explain to you what slicing
00:08is and why you would want to slice an image.
00:12Slicing divides a composition into multiple areas and each area is saved out of
00:17Photoshop as a separate image, a GIF, a JPEG or a PNG, for example.
00:24Why would you want to separate a composition into multiple areas like that?
00:28Let's use this image, javaco_stores.psd from the Chapter_12 Exercise Files folder
00:34to talk about the reasons to slice a composition.
00:37One important reason is if you have different parts of a composition, like this
00:40one, that are likely to optimize best in different file formats.
00:44So, for example, here, on the top-right of this composition we have a photograph,
00:48and we know that photographs usually optimize best in the JPEG format.
00:53Then over here on the left, we have this JAVACO tea logo, with areas of
00:58solid color, and we know that images like this generally optimize best in the GIF format.
01:04So, we would want slice this part of our composition separately from this part
01:08of our composition, so that we could optimize those two parts separately with
01:12the best settings for those individual pieces.
01:16There are also some other areas here that will probably optimize best as GIFs
01:20but that will take a different number of colors.
01:23So, for example, down here, we have this map.
01:26This map is likely to require more colors than just the JAVACO tea layer which
01:30is all flat art, because in the map, we also have some Photographic Style icons.
01:36And the text is likely to optimize as GIF, but probably with some other number
01:40of colors than the logo or than the map.
01:43So, we will isolate each one of those pieces too.
01:46So, the need to optimize separate areas of a composition differently is
01:51one reason to slice.
01:54Another reason to slice is if you want to add links to part of a composition.
01:58In this case, we have these four flat art buttons over here, and each of these
02:03is going to take a link to a separate webpage.
02:06In order to link each of these buttons separately, we need to get each one out
02:10of this composition as a separate image.
02:13We can then bring each of the images into a site building program like
02:16Dreamweaver and add our links there.
02:19You can actually add links right from Photoshop, but we usually do it from a
02:23program like Dreamweaver.
02:25In any event, the necessity of creating links from each of these buttons
02:29requires us to slice each button separately from the rest of the page and we
02:34will probably save each one of these buttons as a GIF, because each is flat art.
02:38There is one more reason that you sometimes need to slice and that is if you're
02:43adding an animation to part of a larger composition.
02:46So, let's say we wanted this cup to animate by fading in, we would have to
02:50create a slice around the cup, so that we could animate that without affecting
02:54the rest of the composition.
02:56So, that's why to slice.
02:58Now, let's take a quick look at what slices look like.
03:01I'm going to go to the View menu and then down to Show and then over to
03:05Slices, because I have already sliced up this image and I'd like you to see
03:09what those slices look like.
03:11What's going happen when we save out this image? Each one of these sliced
03:15areas, the areas surrounded by these boxes, is going to be saved as a separate GIF or JPEG.
03:22In addition, we are going to ask Photoshop to save an HTML file for us, and
03:27in that HTML file there will be a HTML table that will take all of the
03:33separate sliced images and reassemble them into this composition when viewed in a web browser.
03:38So, that's an overview of what slicing is, why you would want to do it and how it works.
03:45There are three different kinds of slices that can be made in Photoshop CS3.
03:50Those are called User Slices, Auto-Slices and Layer-Based Slices.
03:55In the next movie, we are going to start by taking a look at how to create
03:58User Slices.
Collapse this transcript
Creating user slices
00:01Now that we know what slicing is and when to slice, let's get started
00:05making some slices.
00:07In this movie, we're going to work with javaco_stores_02.psd, which is an
00:12unsliced composition.
00:14We're going to be creating some user slices and letting Photoshop also create
00:19another kind of slice for us, known as Auto-Slices.
00:23Before we get started slicing, I want to make sure that the Snap To feature is on.
00:28Then my slices will more easily snap to the edges of individual elements, like
00:34the artwork on layers, or like the edges of other slices.
00:38To turn Snap To on, I'm going to the View menu, and I'm going to go down, and
00:43when I see that there is no checkmark next to Snap, I'm going choose Snap To,
00:48and go all the way down to All.
00:51Now we're ready to make our first user slice.
00:55I'm going to go to the Toolbox and I'm going to select the tool called the Slice Tool.
00:59Then I am going to go into my image, and I'm just going to click-and-drag around
01:04the Javaco tea logo.
01:05And the slice I'm making automatically snaps to the edges of the Javaco logo,
01:11because I did turn Snap To on.
01:14As you draw this slice, you may see some magenta lines.
01:17Those are Smart Guides.
01:19I turned mine off to make it easier for you to see my slices, but you can also
01:22use your Smart Guides to help you line up this slice that you're creating.
01:27When I release my mouse, I can see that I have more than one slice here.
01:32The slice that I just drew has a blue number on it.
01:36That blue number indicates that this is a user slice.
01:39User slice just means a slice that I, the user, drew using the Slice Tool.
01:45Notice that there are some other slices here that have gray numbers:
01:48slice 01, slice 03, and slice 04.
01:51These are called Auto-Slices.
01:54Photoshop automatically made these slices for us, as we made our user slice.
02:00Every time that I draw a new user slice , Photoshop will come in behind me and
02:04redraw these Auto-Slices.
02:07Why do we need these Auto-Slices?
02:10That's because every pixel in this file always has to be accounted for by one
02:14slice or another, because under the scenes, Photoshop is getting ready to
02:19generate an HTML file that will contain an HTML table.
02:24The HTML table will have rectangular table cells.
02:28Each of the images that we are generating from the slices here can then be
02:32reassembled into this composition by placing them inside of one or another of
02:37the rectangular table cells.
02:39So basically, Photoshop is mocking up that rectangular table here in the
02:44arrangement of slices that it's continually redrawing, as we make our user slices.
02:50To see what I mean, let's actually take a look at that by drawing another user slice.
02:54This time let's come in and, with the Slice tool, let's draw a slice around the
02:58About Us button, letting the slice snap to the edges there.
03:03As you can see, we now have another blue user slice, and then we have another
03:07auto slice beneath it, slice 06.
03:09There is also some functional difference between user slices and Auto-Slices.
03:14For one thing, you can adjust the edges of a user slice, like this one, by
03:20clicking-and-dragging the borders of the slice.
03:22I'll put that back where it was.
03:24But you can't adjust the borders of in auto slice, like this gray slice, number 04.
03:30If you do want to adjust the borders of an auto slice, you can promote it to a user slice.
03:35So let's do that.
03:37First, I'm going to go back to the Toolbox, and from behind the Slice Tool, I'm
03:41going to select another tool called the Slice Select Tool.
03:46With the Slice Select Tool, I'm going to click on this gray auto slice number
03:5004, the slice around the Products button.
03:53What I want to do is to drag the borders of this slice closer into the Products button.
03:57But I can't do it right now because this is just an auto slice.
04:02So with slice number 04 selected, I'm going to go up to the Options bar for the
04:06Slice Select Tool, and click the Promote button right here.
04:09That's changed our number 04 slice from an auto slice into a user slice.
04:15You can tell because the slice number has now changed to blue, and because the
04:20border around the slice now has these nodes on it.
04:23I can click on any one of those nodes and drag that border in, so that it's
04:28closer to the Products button.
04:30Let's go in and slice the rest of our buttons.
04:33I'm going to go back to the Toolbox and I'm going to select the Slice tool again.
04:37Then I'm going to come down and draw a rectangular slice around Our Stores, and
04:43another around Contact Us.
04:45Now, let's talk about how we can modify slices.
04:48On a Mac, I'm going to hold down the Control key, as I click in this large, gray
04:53auto slice over here on the right, slice number 03.
04:56On a PC, you would right-click in this slice.
04:59That brings up this contextual menu and it gives us the option to divide this
05:03large slice into multiple slices. Let's do that.
05:07Sometimes this is more efficient than drawing slices by hand.
05:12Here I can choose how many slices I would like to divide this into.
05:16I can choose to divide it only horizontally, only vertically.
05:19And in each direction, I can type in the number of slices that I want.
05:24Because I used this dialog box before, it's already set up for two slices
05:29horizontally evenly spaced, and two vertically evenly spaced.
05:33If you're following along, you can type that into your dialog box and I can see
05:37a preview of those slices here.
05:40If I like them, I'll click OK.
05:43I could then move my mouse over the borders of those slices and reposition
05:47them if I needed to.
05:49Let's say I have multiple slices and I would like to combine them all into one large slice.
05:54First, I would make sure that all of the slices were selected by holding down
05:58the Shift key and clicking in each slice with the Slice Select Tool.
06:02In this case, I already have all four slices selected.
06:05So now I can come into any one of these slices and on a Mac hold the Control key
06:09and click, on a PC, right-click to bring up this contextual menu.
06:14I see that one of the choices here is Combine Slices.
06:17So I'll choose that one, and all four of those slices have now been
06:21combined into one large user slice, which has a blue number telling us it is a user slice.
06:28Another thing you can do from a contextual menu inside a slice is to delete a slice.
06:33So let's try that.
06:35Again, I'm going to Control+Click on a Mac, or right-click on a PC inside this
06:39slice, and I see that one of my choices is to delete the slice.
06:43So I'll select that and it does indeed delete the user slice.
06:47But notice that we still have this gray auto slice here.
06:52So that's how you create and modify user slices, and their cousins, Auto-Slices.
06:58Next up, we're going to be taking a look at how to make another kind of slice,
07:01a layer-based slice.
Collapse this transcript
Creating layer-based slices
00:00In this movie, we are going to talk about another kind of slicing in Photoshop
00:04CS3, Layer Based Slicing.
00:06If you are working along with me and you still have your file open from the end
00:10of the last movie in which we learned about user and auto slices, you can
00:14continue to use that file.
00:16Otherwise, if you have access to the Exercise Files, you can open a fresh copy of
00:20that file, javaco_stores_03.psd from the chapter12, Exercise Files folder.
00:27As you can see, in this file we've already created our five user slices over here.
00:32Now let's go to the Layers panel and expand the our stores layer group by
00:36clicking the arrow to the left of that layer group.
00:38Out stores layer group contains these four slices: the map, a type layer, a
00:45rasterized text layer and a cup.
00:47We are going to create a separate layer- based slice around the content of each
00:53one of these layers.
00:54Let's start by making one layer-based slice.
00:57We will select the cup layer and because we've had the foresight to put just the
01:01cup on a separate layer, as you can see, if I turn the layer on and off,
01:06we can use the automatic layer- based slicing feature in Photoshop.
01:10All we have to do is come up to the Layer menu, and go down to New Layer Based Slice.
01:17Photoshop draws a slice around just the contents of the cup layer.
01:21The icon indicates that this is a special kind of slice, a Layer Based Slice.
01:26You'll notice that its icon is slightly different from the icon on the user
01:29slices that we drew with the Slice Tool.
01:32What's the advantage of using a Layer Based Slice?
01:35The advantage of Layer Based Slicing is that these slices will move with the
01:39underlying layer content.
01:41What do I mean by that?
01:43Well, first let's see what happens when we try to move the content that's inside
01:47of a user slice, the kind of slice that we draw with the Slice Tool.
01:52I'm going to go over to the Toolbox, and make sure that I have the Move tool
01:55selected, and then I'm going to go into the Layers panel, and I am going to
01:59select the javaco logo layer.
02:03That's the layer that contains just this JAVACO logo that I am turning on
02:06and off for you to see.
02:09With the Move tool, I am going to go click-and-drag that logo over to the right.
02:14Now I'm not dragging the slice, I am dragging the underlying layer content, and
02:18slices are very different than layers. Please don't mix those two concepts up.
02:22Notice that when I move the javaco tea layer content, the slice that was around
02:27that content, slice number 02, doesn't move.
02:30It just stays where it was.
02:32That means that if we did have to come in and edit our composition and move
02:36different content to different places in the composition we would have to redo
02:41all of our user slices, because they would not move with the layer content.
02:45I am going to Undo to put that layer content back where it was.
02:50And now let's see what happens if we resize the content of this slice.
02:55So with the cup layer still selected, I'm going to go up to Edit and down to Free Transform.
03:01And then I'm going to put my mouse over one of these corner nodes.
03:05I am going to hold the Shift key to constrain proportion, and I'm going to drag
03:09in to make the cup image smaller.
03:12Then I'm going to click the checkmark in the Options Bar to accept that transform.
03:16And as I do that, keep your eye on Layer Based Slice number 05.
03:21The slice automatically shrank down to surround the resized content of the layer.
03:26So not only does a Layer Based Slice follow layer content when you move content,
03:30it also follows layer content when you resize that content.
03:35Let's undo that change by going to Edit>Step Backwards.
03:40And I'd like to show you one more thing.
03:42Let's say that I add a layer effect to this cup layer that's bigger than
03:47the existing slice.
03:49The slice will expand to fit that large layer effect.
03:53So to try that out, with the cup layer selected in the Layers panel, I am going
03:57to go down to the fx button at the bottom of the Layers panel, and I'm going
04:01to choose Drop Shadow.
04:05And then I'm going to expand the Size of the Drop Shadow in the Layer Style
04:09dialog box by pulling to the right.
04:11We'll make a pretty big shadow just to make the point.
04:14And then I am going to go click OK.
04:16And did you see that the number 05 layer-Based Slice expanded, got bigger, to
04:21accommodate that large Drop Shadow?
04:25Let's undo that as well, Edit>Step Backward.
04:28So as you can see, Layer Based slicing does have some advantages over user slicing.
04:34Another nice thing about Layer Based slicing is that you can create more than
04:37one layer-based slice at once.
04:39To see that, let's go over to the Layers panel, and I am going to click there on
04:43the map layer, hold the Shift key, and click on the easy to find hard to forget
04:47layer, selecting the layer in between.
04:50With those three layers selected, I'm going to go up to the Layer menu and choose
04:54New Layer Based Slices.
04:57And that automatically makes three layer-based slices, one around, the easy
05:01to find hard to forget rasterized text, another around this type, and a third around the map.
05:10So you may be wondering, "If layer-based slices are so great, why don't we always
05:14use them and just forget about user slices?"
05:16Well, one reason is that we may not have separate pieces of content on separate
05:21layers, and in those cases all we can do is user-based slicing.
05:25In addition, there are some things you can do to user slices that you can't do
05:29to layer-based slices.
05:30One of those things is that you can adjust the borders of a user slice but you
05:35can't adjust the borders of a layer-based slice.
05:39Let's take a look at layer-based slices number 11, 17, and 23 that we just made.
05:45Notice that their right edges are not aligned, and that causes there to be some
05:49additional auto slices over here.
05:51Often, there is an advantage to not having too many extra slices.
05:56So I would like to align the right edges of each one of these slices.
06:01If I have the Slice Select tool and I click in any of these layer-based slices,
06:05I just can't grab the slices, and change their edges.
06:08You can't do it with a layer-based slice.
06:10So I am going to select all three of these slices by holding down the Shift key,
06:16and clicking inside of those three slices with the Slice Select Tool.
06:20Then I am going to go up to the Tool Options for the Slice Select tool and click Promote.
06:26That changes my layer- based slices into user slices.
06:29And you can see that immediately we have some editing nodes there.
06:33And I can now come into the edge of slice number 17 and pull it over to the
06:37right and line it up with slice 24.
06:39And I have eliminated one of those extra auto slices.
06:43I can do the same now with slice 11, moving over its border and lining it up
06:48with those other two user slices, and now we only have one auto slice over here,
06:53instead of the several that we had a few minutes ago.
06:56So that's a look at layer-based slicing.
06:59In the next movie, we are going to be talking about Slice Options
07:02including Naming Slices.
Collapse this transcript
Adding slice options
00:01Now that you know how to create layer- based slices and user slices, let's talk
00:05about how to name our slices, and add some other options to them.
00:10It's important that you give your slices meaningful names because the slices are
00:14going to be generating GIFs and JPEGs that you'll be wanting to identify later
00:19as you build your pages out in a program like Dreamweaver.
00:23So let's see how we can give the JAVACO tea logo slice here a meaningful name.
00:28I am going to get my Slice Select tool in the Toolbox, and then I am going to
00:33go to click on the JAVACO slice and go up to the Options Bar for the Slice Select Tool.
00:38I am going to go click on this icon on the right side of the Options Bar to open
00:42the Slice Options dialog box.
00:45Here in the Name field, you can see the default name of this slice.
00:49It's not very meaningful, and it's quite long, javaco_stores_04_02.
00:55That name comes from the name of the source file, javaco_stores_04.psd, with the
01:01slice number 02 tacked on the end.
01:04So I am going to change that, by selecting it, pressing the Delete or Backspace
01:09key on my keyboard, and typing something short, sweet, and meaningful, like logo,
01:15and then clicking OK.
01:17Now when we generate a GIF from this slice, that GIF would bear the
01:21meaningful name logo.gif.
01:25Let's go ahead and click on the PRODUCTS slice, and with that slice selected, I
01:29am going to go up to the Options Bar again, and click on that logo to open the
01:33Slice Options dialog box.
01:35I am going to select the default name, and press the Delete or Backspace key,
01:40and this time, I'm going to type 'products_button'.
01:45Why did I use an underscore?
01:47Because when we are creating a slice name that can generate a file name, we
01:52don't want to have spaces in our names.
01:54That's because some web servers have trouble with file names that have spaces in them.
01:59For a similar reason, I try not to use unusual characters, or uppercase
02:03when naming my slices.
02:05So I'll click OK here.
02:07And let's do the same thing with the ABOUT US button, selecting it with the Slice
02:11Select Tool, going to the Options Bar, clicking the button to open Slice Options
02:16and typing in a meaningful name, 'about_button'.
02:23Before we leave the Slice Options dialog box, let me just talk briefly
02:26about these other fields.
02:27In the URL field, you could type a link to another webpage.
02:32Usually I don't do this in Photoshop, with a button like this that's going to
02:36link to an internal page in my site, because I don't yet know the file structure
02:40of my site, and where the individual pages will be in that file structure.
02:44But just to show you how it works, I am going to type an external URL
02:48http://www.lynda.com, which is a link to the homepage of the lynda.com website.
02:57In the Target field, I can type _blank as an HTML instruction to open the URL to
03:05which we've linked in a separate Web Browser window.
03:08And Message Text I usually don't bother with, but I always try to put Alt Tag
03:13behind any important image.
03:15Alt Tag is used by reading machines that make the web more accessible to those
03:22who are visually-impaired and can't see my images.
03:25So in the Alt Tag field for this selected button, I'm going to type about us link.
03:33So that a reading machine will know and report that this is indeed a link.
03:38And then I'm going to click OK.
03:41I would continue normally going through the important slices here, all the user
03:44slices, and giving them names and adding Alt Text behind them.
03:49But for now, I'd like to show you what we've created.
03:51So I'm going to go to File>Save for Web and Devices.
03:55And from that window, I am going to go click the Preview in Browser button down here.
03:59Don't worry about the fact that some of our images don't look right in the GIF preview.
04:03We'll come back in another movie and talk about optimizing sliced images.
04:07I'll just click this button to view our page in a Web Browser, and what I'd like
04:13you to see is that when I move my mouse over this ABOUT US button, which I just
04:18programmed to be a link in Photoshop, the cursor changes to a hand.
04:23And that hand is a sign that this is indeed a link.
04:26If I click there, it opens in a separate Browser window, the lynda.com homepage.
04:33Let's close that page, and I am going to do this to simulate the situation of a
04:38reading machine that can't see the images.
04:40So I'm going to go up to my Safari Preferences, and I'm just going to uncheck in
04:45the Appearance section, Display images when the page opens, and close that.
04:50And then I'm going to reset this Browser page.
04:53Now you can see how our sliced page would look in a Web Browser if the
04:57images were turned off.
04:58And you can see where the ABOUT US button was the Alt Text about us link that
05:03can be read by a reading machine.
05:05I am going to go close the Browser window here, go back to Save for Web and
05:10Devices and Cancel out of there.
05:13And now we are back in our sliced image, where we would continue to select the
05:17user slices and give them names.
05:20When all that's done it will be time to optimize and save the multiple slices
05:25that we've created in this composition, and that's what we are going to talk
05:28about in the next movie.
Collapse this transcript
Optimizing and saving slices
00:01The last step in preparing a composition that has multiple slices in it, like
00:05this one, is to optimize and save those slices.
00:09If you have access to the Exercise Files, open javaco_stores_05.psd.
00:15This version of our composition has user slices that have all been named, so
00:20it's ready to optimize.
00:22To optimize the slices, we'll go to File and we will go to Save for Web & Devices.
00:27Here, I am going to click on the Optimized tab, so that I can see my
00:30entire composition.
00:33As you can see, there's quite a bit of work to do here, but I am going to try to
00:36show you some ways to go about it that will make it go as fast as possible,
00:39because our task is to optimize each slice.
00:44First, I am going to go over to the Toolbox in the Save for Web & Devices window
00:48and get my Slice Select tool from there and then I am going to start with this
00:52slice in the top right, which I know is the cup photo, and so this is probably
00:56the only slice that we are going to want to optimize as a JPEG.
00:59So I will select that slice and then I'm going to go over to the controls on
01:03the right and I'm going to change Format from GIF to JPEG, and already that
01:08slice looks a lot better.
01:11Down on the bottom left, I can see the current file size, using the settings for
01:15JPEG that we have here on the right.
01:17I would like to get that file size down, so I am going to try Medium.
01:22And I'm not sure I like that quality.
01:24I would like a little more quality.
01:25So I am going to go to the Quality field and increase the quality from the
01:29Preset of 30 up to about 50 and that brings my file size down, as you can see here.
01:37Now I am going to go to the next most complicated slice, which is this map, and
01:41I am going to click on it.
01:43This slice will optimize as a GIF, because it's primarily made of flat art.
01:47So I will go to my controls over here and I see that there are only two colors
01:53set for this slice, and that's why we don't see much of the content of the slice.
01:57So I am going to change that to 64 colors and let's see how our slice looks. Not too bad.
02:04Let me see if it's much better at 128 colors and that does make this white
02:09teacup photo look a lot better.
02:11Our slice is only 10K, so I am going to accept that.
02:15I also know that the layer on which the map is located has transparent
02:19pixels around the map.
02:20So I'm going to want to check Transparency for this slice and I'm also going to
02:25check that my Matte color is set to White, because I'm going to be placing these
02:29foreground images on a white background.
02:33I can also check the Color Reduction palette.
02:36With Selective we have 10.05K, with Perceptual, the file size is a little
02:41higher, and with Adaptive it's 10.2K.
02:45I think that the map looks best at Selective,
02:48so I am going to go back to that.
02:51That's how I would proceed around this image.
02:54So I might click here on slice 2, which contains our Javaco tea logo.
02:58This is going to be a GIF because it's flat art.
03:00I am going to go the Colors field and I am going to start increasing the number
03:04of colors until I get the look that I want in this logo.
03:07It looks like I will need at least 16, with a file size of 1.722K.
03:1432 looks even better and takes me to only 2.081K, so I'm going to select that.
03:20So I am going to stop at 32 colors.
03:22Now I'm going to optimize these four button slices.
03:28Fortunately, I don't have to do each one separately.
03:31I'm going to Shift+Click on the four slices to select all four and then I'm
03:37going to go over to my GIF Settings, because this is flat art, and I am going to
03:40increase the number of Colors until those buttons look the way I want them to
03:45look, and I am checking the file size as I go.
03:47I think 16 is going to be the minimum and we do have a pretty low file size for those,
03:54so I will settle at 16.
03:56I will go to this text layer and I will select it and I am going to go
03:59through the same process of increasing the number of colors until that text
04:03looks nice and smooth.
04:04Again, I think it's going to be 16 and probably the same for the other
04:09text layer as well. Let's see.
04:11No, I think we can actually get away with 8 there.
04:14So now I have optimized all of my user slices.
04:18There is one more thing to do and that is to select the auto slices, like this
04:24green slice up here.
04:25If you notice, all of the auto slices have this symbol here, which means that they
04:30are all linked together for purposes of optimization.
04:33So I only have to click on one of the user slices and choose the number of
04:37colors that I want there.
04:38I think 4 colors is going to be enough.
04:41I will leave the other settings at their defaults for now.
04:45So now if I click on another on auto slice, like slice number 1, as you can see,
04:49it's already been optimized with the same settings as slice number 3.
04:54So we only have to do one of the auto slices.
04:58Now we are all done optimizing and we can save our multiple slices.
05:02To do that, I am going to click the Save button at the top of the Save for Web &
05:06Devices window and I'm going to go out to my Desktop.
05:10There I'm going to make a New Folder and I will call this my javaco folder and
05:16I will click Create.
05:17I am going to go to the Format field and change that from Images Only to HTML and Images.
05:25That's because along with all of the images that are going to be generated from
05:29the sliced composition, I would like to save an HTML file that will contain a
05:34table that will reassemble all of these separate images in a web browser.
05:38So I will choose HTML and Images and I will check that Slices is set to Save All Slices.
05:46So now I will click Save and in just a moment, Photoshop has generated JPEGs and
05:53GIFs and written an HTML file for me.
05:56Let's go out to the Desktop and see what Photoshop has generated.
06:01Here is the javaco folder.
06:03I am going to open that folder and there I see the HTML file and I see
06:07this images folder. Let's open that.
06:11I'm going to choose to view that as a list and I will make it bigger so that
06:15we can see that Photoshop has generated a user slice for each one of the
06:20buttons, the about_button, the contact _button, here is the products_button,
06:23and the stores_button.
06:25It's generated a JPEG for the cup photo and then all of the other images that we
06:31named, the easy_headline, the logo, the map, et cetera.
06:36These images with the long file names are the auto slices, the ones I
06:40didn't bother to name.
06:41So if, for example, I were to open this cup image by double-clicking it, here
06:46it is in Photoshop and as you can see, it's a separate file that is only the
06:50cup, saved out from the layer-based slice that we had created around the cup
06:54image in our composition.
06:57And if we open another one of these, say the about_button, we will find a
07:01small GIF that is just the about_button, around which we had drawn a user slice
07:05in our composition.
07:07Now, let's go back and take a look at the HTML file that Photoshop generated.
07:11I am going to click the Back button and there is my javaco_stores_05.html.
07:16I will double-click that HTML file and it opens in my web browser and you can
07:20see all of the optimized images reassembled by the HTML table that Photoshop
07:25generated behind the scenes.
07:28So that's how you optimize and save a composition with multiple slices.
Collapse this transcript
13. Rollover Graphics
Creating rollover graphics with layer comps
00:00This chapter is all about creating the graphics for rollovers.
00:04I am sure you have seen rollovers on the web and you know that they can come in
00:08handy for many purposes.
00:10Rollovers can help your viewers understand where they are in your website.
00:14Rollovers can help viewers find a link and rollovers can offer additional
00:18information, either in the form of text or in the form of graphics.
00:23In the next few movies, we are going to step through the process of creating the
00:26graphic content for rollover states in Photoshop.
00:31The process that we will be using will involve Layer Comps and it will involve a
00:35special script that lynda.com has created along with script expert Trevor Morris
00:41and that we are making available to you for free.
00:44This script will help you to export the sliced content of multiple Layer Comps all at once.
00:50Before we get started building a navigation bar with rollovers, let's see
00:54where we are going.
00:56Here on web browser, you can see some simple buttons in their normal state and if
01:01I move my mouse over these buttons, they change to the over state.
01:04There actually are two different graphics here for each button.
01:08There is a normal state graphic and an over state graphic.
01:11These graphics are swapped out by JavaScript behind the scenes.
01:15In Photoshop, you can create the graphics for rollovers like these and that's
01:19what we are going to do in the next few movies, but you can't create the
01:22JavaScript that makes them roll over.
01:25In ImageReady CS2, you used to be able to do that, but unfortunately, Creative
01:30Suite 3 does not include ImageReady.
01:32So if you do want to make your graphics for rollovers like these in Photoshop,
01:37then you will have to bring those graphics out of Photoshop and into another
01:41program, like Adobe Dreamweaver CS3, to program the rollovers.
01:46So let's get started making our rollover graphics in Photoshop CS3.
01:50I am going to close the Safari web browser and then I'm going to go into
01:55navbar.psd, which I have opened from the Chapter 13 Exercise Files folder.
02:01If you're not using the Exercise Files, you can create a file just like this
02:05by setting up a solid color background and then drawing four simple shapes,
02:09each on a separate layer, for the four buttons and then creating four text
02:13layers on top of each button.
02:15The first step in creating this navigation bar is to slice the four buttons.
02:19We are going to use layer-based slicing for that.
02:22So we are going to Layers panel and select the products layer in the buttons group.
02:27Then, holding the Shift key, select the contact layer and that selects all four
02:32of the button layers.
02:34Then go up to the Layer menu at the top of the screen and down to New
02:38layer-based Slices.
02:39That creates a layer-based slice around each one of the buttons surrounded by
02:43these gray auto slices.
02:45If you need to review layer-based slicing, you can revisit the movie on that
02:49subject in the Slicing chapter.
02:51The next step is to set up the appearance of each of our buttons on the normal
02:55state of the rollovers.
02:57We are going to do that using the Styles panel.
02:59Let's make sure that our panels are all arranged the same way before we choose a style
03:04by going up to the Window menu and choosing Workspace>Default Workspace.
03:09Then go to the outer column and let's close this first panel group, the one that
03:14says Navigator, Histogram and Info by clicking the red X on that panel group and
03:19finally, in the Color, Swatches, and Styles panel Group, click the Styles tab to
03:24bring the Styles panel to the forefront.
03:26The Styles panel displays a set of default styles. Rather than the default styles
03:32that we now see in the Styles panel,
03:34let's load some special web styles that shipped with Photoshop CS3.
03:38To do that, go to the panel menu icon on the right side of the Styles panel,
03:42click and from the pop-up menu, choose Web Styles from the bottom of the menu.
03:49At the message, click OK to replace the default styles with the Web Styles.
03:54Now let's apply one of these Web styles.
03:56Double check, in your Layers panel, that you have the products, about, stores, and
04:00contact button layers all selected and then go to the Styles panel and just
04:05click on this Blue Gel style.
04:08And that styles all four of our buttons in the Document Window.
04:11In the Layers panel, you can see the effects that make up the style on each one
04:15of the button layers.
04:17The next step is to take a snapshot of the appearance of the buttons right now
04:22and to save this as our normal state of the buttons.
04:24To do that, we will be using Layer Comps.
04:26I am going to open the Layer Comps panel by clicking its icon right here in this
04:31inner column of panels.
04:33If you haven't set up your panels like these, then just go to the Window menu
04:36and choose Layer Comps to open his panel.
04:39Layer Comps take snapshots of the state of layers at any one point in time.
04:44So we are going to take a snapshot of the way our layers look right now.
04:47To do that, I will go to the bottom of the Layer Comps panel and I am going to
04:50click the Create New Layer Comp icon here.
04:53That opens the New Layer Comp dialog box and I am going to name this Layer Comp 'normal'.
04:58Here we see a list of the various parameters that Layer Comps can memorize.
05:03They can keep track of layer Visibility, of the Position of artwork on layers,
05:07and of the Layer Styles, blend modes and opacity of layers.
05:12I usually check all three of these parameters, just to be safe, and say OK.
05:18Now we have our first Layer Comp, our first snapshot of the way that our layers
05:22look on the normal state.
05:23Now let's change the appearance of these buttons for the over state.
05:27I am going to go my Layers panel and I'm going to scroll down to make sure
05:31that all four of the button layers are selected: products, about, stores, and contact.
05:37Then I am going to go up to the Styles panel and I will click once on the Green Gel style.
05:41Now that our buttons are green, let's memorize this appearance as another Layer Comp.
05:46We will go to Layer Comps panel and click the Create New Layer Comp icon again
05:51and we will name this Layer Comp 'over'.
05:53We will make sure all three parameters are checked, although we are really just
05:57using Appearance at this point, and we will click OK.
06:00Now we can see our two states by clicking the arrows at the bottom of the Layer Comps panel.
06:06I will click the right-hand arrow to go back to the normal state and the
06:09left-hand arrow to go back to the over state.
06:12Another way to cycle through states in the Layer Comps panel is just to click in
06:15the field to the left of any state.
06:17So if I clicked to the left of normal, it shows me the blue buttons.
06:21If I clicked to the left of over, I see the green buttons.
06:23I just want to show you quickly that you can change your mind on either one of
06:28these states and change the appearance of the buttons and then update an
06:31existing Layer Comp.
06:32Here is how you do that.
06:34Let's update the over state.
06:35So first, we will make sure that we have the over state selected by clicking in
06:39the field to the left of the over state. Then I'm going to check in my Layers
06:42panel that I still have all four button layers selected, as I do, and then I'm
06:47going to go up to the Styles panel and this time I'm going to choose the Blue
06:51Gel with Drop Shadow style for my over state.
06:54Notice, by the way, that the slices around each button have expanded to
06:58accommodate the drop shadow around these buttons with this new style.
07:02That's one of the advantages of using layer-based slicing rather than slicing
07:06with the Slice tool, as we learned in the chapter on Slicing.
07:09Now that we have changed the appearance of the buttons on the over state, let's
07:13update the over state in the layer Comps panel by moving down to the Update
07:17Layer Comp icon at the bottom of the Layer Comps panel and clicking there.
07:21Now if I were to cycle through my Layer Comps by clicking the right-hand arrow
07:25to go to the normal state and then the left-hand arrow to go to the over state,
07:29you can see that the over state has indeed been updated and our over Layer Comp
07:33now shows the buttons with the Blue Gel with Shadow style.
07:38So that's how you can create the appearance of various states of a rollover
07:42using Layer Comps and Styles in Photoshop CS3.
07:46The next step is to name and optimize each one of our button slices and that's
07:50what we are going to learn to do in the next movie.
Collapse this transcript
Optimizing layer comp rollovers
00:01Let's continue to build this navigation bar of rollover buttons.
00:05In the last movie, we used Layer Comps to memorize two different states of each
00:10one of these buttons:
00:11a normal state and an over state, each with separate kinds of graphics.
00:16If you were following along, you can continue to use the file that you ended
00:19with in the last movie, or if you'd like to use a fresh file, go to navbar_02.psd
00:25in the Chapter 13 Exercise Files folder.
00:28Let's start by naming the slices here.
00:31This is important, because each one of these slices is going to generate the
00:34graphics files for the two rollover states and the file names for those graphics
00:39are going to be taken from the slice name.
00:41So we are going to start by going to the Toolbox and selecting the Slice
00:45Select Tool, then I am going to click on one of the auto slices to deselect
00:50all of the slices around the buttons, and then I'll click on the first button
00:54slice, the one around the products button, and go up to the Tool Options Bar
00:58for the Slice Select tool and I am going to click the icon on the right that
01:02opens Slice Options.
01:04We learned about Slice Options in a movie in the Slicing chapter, so I'm not
01:07going to go through all the fields here.
01:09I'm just going to type a name for this slice in the Name field.
01:12I will call this products_button and click OK.
01:17I will repeat that on the about us button by selecting its slice and then going
01:22to the Options Bar and in Slice Options, I will call this about_button slice and
01:28I will select the store slice, go to the Options Bar, click the icon and type a
01:33name for this slice, stores_button.
01:38Click OK and I will select the slice around the contact button, go up to the
01:42Options Bar, click the icon, and in Slice Options, I will type contact_button and click OK.
01:50The next thing I want to do is to optimize all these buttons.
01:53As we learned in the chapter on Optimization, we do that in the Save for Web & Devices window.
01:58The settings that we choose to optimize the button slices here are going
02:02to apply to both the over state of these buttons and the normal state of the buttons.
02:07So we want to be sure that our optimization settings look good for both
02:11versions of each button.
02:14Let's start by optimizing the normal state of the buttons.
02:17I am going to go to the Layer Comps panel and I am going to click in the field
02:20to the left of the normal state and then I'm going to go to File and down to
02:24Save for Web & Devices to open the Save for Web & Devices window where we will
02:29optimize all our slices.
02:30I have clicked on the Optimized tab here and I've resized my window just a bit
02:35so that I can see the entire horizontal navigation bar.
02:38I want to optimize all four button slices together to save a little time and
02:42since those buttons are all the same, it's fine to optimize them all as one.
02:46So I'm going to go to be Slice Select tool at the top of Save for Web &
02:49Devices, select that and then hold the Shift key as I click on each one of the button slices.
02:56When I go over to the controls on the left, I see that my number of colors
02:59is only eight and that accounts for the dithering that we see inside of these buttons.
03:04So I am going to increase the number of colors by clicking to the right of the
03:07Colors field and trying 16 colors, which looks better.
03:1132 colors there is still a little bit of spotting here.
03:15So I will try 64 colors, and I think that looks fine for these buttons.
03:20Now the file size of all four button slices is only 7.354K.
03:26Let's see if we can get that down a little further.
03:28I see that we have Diffusion Dither at 100%.
03:31Let's see what happens if we take away the dither and choose No Dither instead.
03:35Now we do have a lower file size and I think the buttons look fine like that.
03:39So I am going to accept all the rest of the Optimization Settings.
03:43At this point, when you're normally optimizing an image, you would click Save,
03:46but I don't want to do that here, because if I do save at this point, then
03:50Photoshop will generate images for the buttons in their normal state, but it
03:54won't generate any images for buttons in their over state.
03:57So instead of clicking Save on the top right, I am going to click Done to
04:01save the settings that we have chosen here and go back into Photoshop in the main interface.
04:06Here, I want to change my buttons to their over state by moving to the Layer
04:10Comps palette and clicking in the empty field to the left of the over state.
04:14Now I am going to go back into be Save for Web & Devices window to check if
04:20the Optimization settings that I just set look good on the over state of these buttons.
04:25So I will choose File>Save for Web & Devices and I'm going to get my Slice
04:29Select tool and as before, I'm going to hold down the Shift key and click on
04:34every one of the button slices.
04:35I am actually going to toggle the slices off for just a moment, because I want
04:39to get a really good view of the edges of these buttons.
04:42So I am going to go to the left side of Save for Web & Devices and click on the
04:45Show/Hide Slice Toggle there.
04:48Now I can see that in the over state, the buttons really don't look as clean and
04:52crisp as I would like them to be.
04:54So I'm going to go over to the Colors field on the right and I am going to
04:57increase the number of colors.
04:59Even though 64 was okay for the normal state of the buttons, it's not enough
05:02colors for the over state.
05:04So we will try 128 colors, and right away, our buttons look better over here on
05:09the right and the file size for all four of these button slices is only 20.94K
05:15in the over state of the buttons. That's acceptable.
05:18Now I might try to go in and see what happens if I change the Dither field
05:22from No Dither to Diffusion Dither, hoping to get a little bit better
05:27appearance on the shadows here.
05:29That has increased the file size about 2K and I really don't see any benefit, so
05:34I'm going to put Dither back to No Dither and we will accept these optimization
05:38settings for the over state of our buttons.
05:40I am going to click back on the Show/ Hide Slice Toggle on the left and I am just
05:44going to check the Optimization Settings for the auto slices.
05:48If I click on one of those auto slices, I can see that the auto slices come up
05:52to only 172 bytes, which is very small and these settings of two colors seem to be appropriate.
05:59You may remember from the movies in the Optimization chapter that optimizing one
06:03auto slice optimizes all auto slices in an image like this.
06:07So we are fine with these auto slice optimization settings.
06:11Now again, I don't want a click Save, because if I do, Photoshop will just save
06:15out the button slices in their over states and I won't have any images of the
06:20buttons in their normal states.
06:21So again, I'm going to click Done to save these settings.
06:24I've come back to the Photoshop interface, because I want to export the button
06:29slices not only in their over states, but also in their normal states and there
06:33really is no way to do that in Photoshop CS3.
06:36For that reason, lynda.com is providing a special Layer Comps to Slices script
06:42that we can use to export the graphics for multiple states of slices, as long as
06:47we have memorialized those states as Layer Comps, and we will learn how to do
06:51that in the very next movie.
Collapse this transcript
Installing the lynda.com rollover script
00:01At this point in our development of this multiple rollover state navigation
00:05bar, I would like to save out all the buttons, both in their normal states and
00:10in their over states.
00:12Unfortunately, there is no way to do that from the functions available in Photoshop CS3.
00:17You used to be able to do that in ImageReady CS2 and in fact, you even could add
00:22JavaScript that would make the rollovers work right inside of ImageReady, but in
00:26CS3 there is no ImageReady and so we have to find a work around for saving out
00:32multiple graphics for multiple rollover states.
00:35lynda.com has gotten together with scripting expert Trevor Morris to come up
00:40with a script that will help you to do just that.
00:42In this movie, I'd like to show you how to install that script and in the next
00:46movie, we'll use it to export multiple states of our rollover graphics.
00:52You can access your personal copy of the Layer Comps to slices script that we've
00:57made for you from the Photoshop CS3 for the Web Essential Training page, in the
01:03lynda.com Online Training Library website, or if you're watching this movie from
01:08a disk, you can access the script from your disk.
01:11I'm working on a Mac.
01:13Let me show you where to install the script on a Mac and then we'll move over to
01:16PC and see where to install it there.
01:18I'm going to open my Finder on a Mac and in the Finder, I'm going to navigate
01:24to the Applications folder and from there, to Adobe Photoshop CS3 and from there,
01:31to the Presets folder and then into the Scripts folder.
01:35Here, we see a copy of all the scripts that come with Photoshop CS3.
01:39I'm going to move that window over and then click on my Layer Comps to
01:43Slices.jsx script and just drag it into the Scripts folder and that's all there
01:50is to installing the script.
01:52Now let's see how to install on a PC.
01:55Here we're looking at a shot of Windows Vista.
01:58On a Windows machine, you're going to go to the C drive and then Program Files
02:02and then you're going to follow the path that you see here in the screenshot of
02:06Windows Vista, go to the Adobe Directory and then the Adobe Photoshop CS3 Sub
02:11Directory, the Presets subdirectory and the Script subdirectory and drag your
02:16Layer Comps to Slices script into that script's subdirectory.
02:22Whether you're on a PC or a Mac, after you've installed the script as I just
02:26explained, you'll have to restart Photoshop.
02:34When Photoshop restarts, go to the File menu and go down to Scripts and there
02:39you'll see your new Layer Comps to Slices script.
02:43In the next movie, I'll show you just how to apply this script to the Navigation
02:46Bar that we've been building.
Collapse this transcript
Exporting layer comp rollovers
00:01Let's recap what we've done so far in this chapter.
00:04We've created this Navigation Bar with multiple buttons, each of which has
00:08two Rollover states:
00:10the normal state, that we've memorialized here in our Layer Comp, and this over
00:15state, that we also saved as a Layer Comp.
00:18We sliced our buttons and optimized and named the slices.
00:22Then we've installed a special script that's going to allow us to save out
00:26the content of each one of these slices with graphics representing all of the Rollover states.
00:32So let's go ahead and do that right now.
00:34I'm going to go to the File menu and I'm going down to Scripts. If you
00:39followed my installation instructions in the preceding movie, you should see
00:43here a Layer Comps to Slices script.
00:45If you haven't watched that movie, you won't see an entry here for Later Comps to Slices.
00:50So please do go back and listen to the preceding movie.
00:53I'm going to select Layer Comps to Slices and in the Choose a Folder window, I'm
00:58going to navigate to my Desktop and I'm going to click on the New Folder button
01:02to make a folder in which to save all of the images that we're going to be
01:05generating from these slices.
01:07I'll name this folder 'navbar' and I'll click Create.
01:11Now I'm just going to click Choose to run the script and then I'll go out to my
01:16desktop and let's see what this script has made for us.
01:19Here is our navbar folder and inside the navbar folder is an images folder that
01:25the script made for us.
01:26Inside the Images folder, we have this long list of GIFs.
01:32Notice that some of these have names, for example, here is the about_button GIF
01:37and the about_button_over GIF.
01:38These two GIFS were generated by the same slice and we also have a
01:44contact_button and a contact_button_over GIF and these were generated from the same slice.
01:49Down here, our products_button and its Over GIF and our stores_button and its Over GIF.
01:56All the rest of these slices are from the Auto slices.
01:59Notice that every auto slice has both a normal and an over state, but of course,
02:04there weren't any changes to the auto slices on the over states, so those are
02:08kind of extraneous files.
02:10In most cases, when you run this script, you're simply going to want to hold on
02:14to the slices to which you gave names, the important slices, in this case, the
02:18slices around the buttons.
02:20So often, you'll just select all of the other slices like these and I'm going to
02:26drag these to the Trash, I just don't need them anymore and then I would bring
02:30in the remaining slices into a site building program like Dreamweaver and
02:34program them to be Rollovers.
02:36Let's just take a quick look at a couple of these GIFs.
02:39I'm going to open the about_ button.gif, which is here, and the
02:45about_button_over.gif here, and let's open the stores_button and
02:52the stores_button_over.
02:55So as you can see, we have both states of these buttons, saved as individual
02:59image files, waiting to be brought into Dreamweaver to be programmed as
03:03Rollovers and that's how you use the new Layer Comps to Slices script provided
03:08for you by lynda.com.
03:10We hope you'll use in your own work.
Collapse this transcript
Creating rollover graphics from layer visibility
00:01In the preceding movies, we walked through all the steps of making graphics for
00:06multiple rollover states in Photoshop CS3.
00:09We talked about layer-based slicing and optimizing slices and using Layer Comps
00:15and exporting Layer Comps with our special lynda.com script.
00:19But what we didn't concentrate very much on was creating the actual artwork for the graphics.
00:25We relied on pretty simple preset styles that ship with Photoshop CS3.
00:30So now I would like to talk a little more about some ideas for creating artwork
00:34for your rollover graphics.
00:36One way to do that is to make your own styles and that's what we're going to be
00:39doing in this movie.
00:41Before we move into Photoshop CS3 to do that, I want to show you where we're going.
00:45We're going to be working on the buttons for this page comp.
00:49I'm now showing you the page comp all finished in a web browser.
00:52We already made all the graphics for the rollover buttons in Photoshop and
00:56then we took them out of Photoshop and brought them into Dreamweaver and made them roll over.
01:01So let's take a look, for example, at the Products bottom.
01:03Right now, you're looking at its normal state.
01:06It's a medium gray with a dark stroke around it.
01:09When I move my mouse over the Products button, it changes.
01:13Now we're looking at a graphic that is the same light gray, but this graphic has
01:17an inner shadow on it.
01:18That makes it look pushed in.
01:20Then when I click on that button, again, it looks different, and now we're
01:24looking at the selected state of this button.
01:27The selected state is based on a graphic that also has an inner shadow, but it
01:31has another effect on it.
01:33It has a color overlay effect that changes its color.
01:36If you're not familiar with the term Selected State, that just means the state
01:40of a rollover button that remains on display unless and until the viewer
01:44clicks on another button.
01:46So, for example, here the Products button is in its selected state, because I
01:50clicked on it, and then if I click on the About Us button, now, About Us is in
01:55its selected state, even when I move my mouse away, unless and until I click on
01:59another button like Our Stores.
02:01The selected state is very useful in helping viewers to understand what page they're on.
02:07So now let's exit from our web browser and go into Photoshop and work on the
02:11graphics for this composition.
02:14I've opened javaco_stores.psd from the chapter 13 Exercise Files folder.
02:19If you move over to the Layers panel, you see that there is a layer group
02:23here called buttons.
02:25In that layer group are the four buttons that we see here on screen.
02:29This is the products button and the about button and the stores button and
02:32the contact us button.
02:35I'm going to select the products button layer and I'm going to ready the
02:38products button layer for its normal state.
02:40I'm going to go to the bottom of the Layers panel and click the fx button there.
02:45I'm going to choose Stroke, which is one of the layer effects that you can
02:49apply in Photoshop.
02:51Obviously, this is not the stroke that we want.
02:54So in the Layer Style dialog box, I'm first going to change the color of this
02:58stroke, by clicking in the Color field and I'm going to choose a dark gray.
03:02I'll say OK, and then I'm going to change the size of this stroke from 3 pixels
03:09down to maybe 1 pixel.
03:12I'm also going to position this stroke rather than outside, inside of the button.
03:18And that's fine.
03:19That's how I want the button to look on the normal state.
03:22Now, I'm going to click the New Style button on the right side of the
03:25Layer Style dialog box.
03:28That asked me what I want to call this new style, I'm going to call
03:31this normal_stroke.
03:35I want to make sure that Include Layer Effects is checked. I'll say OK.
03:40Now, I'll click OK to close the Layer Style dialog box.
03:43A few things have happened.
03:45First of all, you can see that the Products button now has an fx icon,
03:50meaning that it has a layer style, and under the Products button we see the Stroke effect.
03:55The other thing that's happened is in the Styles panel.
03:58If I go to the Styles panel and I move this scroll button down, so I get to the
04:02very bottom of the preset styles that are showing there,
04:05I'm going to mouse my mouse over this very last style and I see that this is my
04:10new normal stroke style that I just saved from the Layer Style dialog box.
04:14Well, that's good, because now I can easily apply that style to the normal state
04:18of the other three buttons.
04:20To do that in the Layers panel, I'm going to click on the about button layer and
04:24then I'm going to hold down the Shift key and click on the contact button layer,
04:27and that selects all the layers in between.
04:29Now I'm just going to go up to my Styles panel and click once on my brand-new
04:33normal stroke style and that's applied to all three buttons.
04:37Now I'm going to open my Layer Comps palette.
04:40As we learned to do in previous exercises, we're going to create a new Layer
04:43Comp to memorize the normal state of these four buttons.
04:47So I'll go to the bottom of Layer Comps and click the Create New Layer Comp
04:51icon, I'll make sure all of my parameters are checked and I'll call this new
04:55Layer Comp 'normal' and say OK.
04:59Now, I want to set up the graphics for an over state.
05:01I'm going to do this on the Product button again to start.
05:04So I'm going to select the products button layer in the Layers panel and I'm
05:07going to double-click that layer to open the Layer Style dialog box.
05:11Now I'm going to undo Stroke and instead, I'm going to click Inner Shadow.
05:17That's going to change the appearance of the Products button.
05:20We can preview the results of what we're doing in the Layer Style dialog box,
05:23because we have this Preview button checked over here.
05:27I'm going to click on that Inner Shadow layer style, so that I see its options
05:30on the right-side of the Layer Style dialog box.
05:32I'll customize it just a bit.
05:34I'm just going to lower its Opacity so it's little more subtle, maybe down to about 61 there.
05:39There are many other options I could play with here, but just to make the point
05:43that you can change some of the options, we'll leave it at this.
05:46I'm now going to create another new style by clicking the New Style button in
05:50the Layer Style dialog box.
05:51I'll call this one over_inner, inner stands for inner shadow.
05:56Then make sure Include layer Effects is checked and click OK.
06:00I'll click OK to close the Layer Style dialog box.
06:03And now, when we go up to Styles panel, we see that there's yet another new
06:06style, this is my new over_inner style.
06:10So now I'm going to go to the Layers panel and I'm going to select the other
06:13three buttons, just as I did a few minutes ago to style them with the normal
06:17style, select the about button and I'll hold my Shift key and I'll select
06:23the contact button.
06:24Now, I'm just going to click once on my over_inner style.
06:28That adds this new layer style to all of the buttons.
06:31And now, I'll go to the Layer Comps palette and click the Create New Layer Comp
06:35icon, make a new Layer Comp, we'll call this one over and we'll click OK.
06:40Let's make one more.
06:41We'll do all this one more time to make the graphics for the selected state.
06:45I'll go a little faster this time, now that you know the drill.
06:49I'm going to select the products button layer, double-click it to open the
06:52Layer Style dialog box.
06:54This time, I'm going to leave an Inner Shadow on the button and I'm going to
06:57add a color overlay.
06:59So I'm going to click on the Color Overlay layer style and then I'm going to
07:03double-click in the Layer Style options, the Color field.
07:06Here, I am going to choose a medium green color.
07:09I actually, know the RGB values of that color, so I'll type them in here, 164,
07:13181, 135, and you can choose any color you like. I'll click OK.
07:22I'll make another new style by clicking the New Style button in the Layer Style
07:25dialog box and I'm going to call this one selected_inner_color.
07:33Now you don't have to be as precise with your names as I am.
07:35You can name it whatever you like that's meaningful to you.
07:38I'm going to include layer effects and click OK.
07:41I'll click OK to close the Layer Style dialog box.
07:45I'm going to select my about button layer in the Layers panel, Shift+Click on my
07:49contact button layer and with the three other layers selected there, I'll go up
07:53to my Styles panel and I'll click on my new selected_inner_color style, and that
07:59styles all the four buttons the same way.
08:02Then I'll go to the Layer Comps panel and I'll make my final Layer Comp, by
08:06clicking the Create New Layer Comp button at the bottom of that panel and we'll
08:10call this one selected and we'll click OK.
08:14Now we can cycle through our Layer Comps.
08:17There are the graphics for the normal state, there are the graphics for the over
08:20state and there are the graphics for the selected state.
08:23At this point, I would follow the routine that we went through in the earlier
08:26movies in this chapter.
08:27I would slice all the buttons as well as the other important graphics on this
08:31page, like the map and the cup and the logo,
08:34I would optimize all the slices and I would run the special lynda.com layer
08:38Comps to Slices script, to export all of the graphics.
08:43Then I would take three different graphics for each one of these buttons and
08:46bring them into Dreamweaver and program them as rollovers with a normal state
08:50an over state and a selected state.
08:53So that's how you can create customized styles for your own rollover graphics
08:57in Photoshop CS3.
Collapse this transcript
Creating graphics for remote rollovers
00:00Let's look at another way to create the artwork for rollover states in Photoshop.
00:05Here, I have a horizontal Navigation Bar with four buttons.
00:09Look at the Layers panel and you'll see that each of the buttons is
00:12represented by a Layer Group.
00:14I'll turn the Eye icons off and on, next to each Layer Group, so you could
00:17see what's in them.
00:18There's the contact button, the stores button, the about button and the products button.
00:23Now I am going to expand the Contact Layer Group, so you can see that in that
00:27Layer Group, we have four different layers.
00:30And only two of those layers are currently visible:
00:32the Envelope layer and the Base layer.
00:36The same is true of our other three buttons.
00:38If we look inside the Stores layer panel, we only have the Tin layer and the Base layer.
00:43And in the About Layer Group, we have only to Teapot layer and the Base layer
00:47and in the Products Layer Group, only the Cup layer and the Base layer.
00:51So you are starting to see the pattern here.
00:53Each one of these buttons has a Base layer and then it has one other layer
00:56visible, that has a white icon on it.
00:59So that will be the normal look to all our buttons.
01:03We need Photoshop to remember that and so we are going to create a Layer Comp
01:07that will remember which layers are on and which layers are off, at the moment.
01:11To do that, I'll open my Layer Comps pane. Mine is represented by this icon in
01:16the inner column of panels.
01:18If you don't have an icon like this, just go to the Window menu and choose Layer Comps.
01:24In the Layer Comps panel, I am going to create a new Layer Comp, by clicking the
01:28New Layer Comp button at the bottom of the panel.
01:30And I'll call this new Layer Comp normal.
01:33We are really only manipulating the visibility of layers here, but I'll keep all
01:37of these parameters checked just for safety and I'll click OK.
01:40Now, we are going to create a different graphic look for the over states of all
01:46the buttons in this Navigation Bar.
01:48And we are going to do that by turning on one extra layer in each one of
01:52these Layer Groups.
01:54So in the Layers panel, I'm going to click in the Visibility field to the left
01:57of the grey layer, inside of the Products Layer Group, and you can see that
02:02that put this grey background behind the products icon.
02:06I'll do the same thing in the about Layer Group.
02:09I'll just Turn on the grey layer there as well, and I'll scroll down and do the
02:13same thing in the Stores Layer Group, turning on it's grey layer and in the
02:17Contact Group, turning on it's great layer.
02:20So this is how each one of these buttons will look in its individual over state.
02:25Now I'll go to the Layer Comps panel and I'll click the Create New Layer Comp
02:28icon and I'll name this Layer Comp 'over' and make sure the parameters are all
02:33checked and click OK.
02:35Now, we could cycle between these Layer Groups by clicking the arrow at the
02:38bottom of the Layer Comps panel, and you can see how the look of the icons
02:42changes from the over state to the normal state and let's do this one more time.
02:47Now let's create the look of a selected state.
02:50The selected state is the state of a graphic, like a button, that will be
02:54displayed in a web browser unless and until the viewer clicks on another item
02:59like another button.
03:00So let's scroll up to the top of the Layers panel and set up the selected state
03:04for the products button.
03:06For the selected state of the products button, I am going to make two
03:09more layers visible:
03:10the tea layer, which fills in the tea and the cup and the smoke curl. Then, I'll
03:15go to the About Layer Group and I'll make two more layers visible here: the
03:20circle in the middle of the teapot and a smoke curl.
03:23Then I'll move down to the Stores Layer Group and I'll make two more layers
03:27visible here: the label and a smoke curl.
03:30You are starting to see the pattern and finally, in the contact button, we'll make
03:35two more layers visible here, the flap and the smoke curl.
03:38So now, you can see how anyone of these buttons would look if it were in its
03:43selected state and we'll remember all of these as a Layer Comp, by clicking the
03:48Create New Layer Comp button again, at the bottom of the Layer Comps panel and
03:52we'll call this Layer Comp 'selected', and we'll say OK.
03:56And now, we have a different look for each one of our states, for each of these buttons.
04:01So here is the selected state, here is the normal state, here is the over state.
04:05Of course, when these buttons are programmed to rollover in a program like
04:09Dreamweaver, you are not going to see all of them set to their over state at once.
04:13They'll all be set to their normal state and then, just the one over which the
04:17viewer moves his mouse in a web browser will turn to the over state.
04:21And then, when the viewer clicks on one of these buttons, it will turn to the
04:25selected state, but not all of the buttons will change to selected state, as
04:28they appear here, in the Layer Comps palette.
04:30At this point, we would follow the routine that we learned in the earlier movies.
04:34We would slice these buttons, we would name and optimize them, we would apply
04:38our special lynda.com Export Script to export out the individual graphics for
04:45each rollover state and each button.
04:47So that's how you can use layer visibility to create the artwork for rollover
04:51graphics in Photoshop CS3.
Collapse this transcript
14. Automation
Creating a web photo gallery
00:01In this chapter, we are going to take a look at some features in Photoshop CS3
00:05that help you do web related tasks automatically.
00:08These are features that will save you time and effort and the tedium of
00:12doing repetitive tasks.
00:14One of my favorite features in this category is the Web Photo Gallery.
00:18The Web Photo Gallery will create a website for you from any images that you give it.
00:23Your images can start off as PSDs or JPEGs or TIFFs, or any format that can be
00:28recompressed into a JPEG.
00:30The Web Photo Gallery will take those images, it will make several copies of
00:34each image, a thumbnail size copy and one or more larger copies as well.
00:40It will compress each image in JPEG format, it will arrange the images
00:45in attractive designs on web pages and it will write the code for an entire website.
00:51It will save everything into a folder for you, all ready for you to upload to a web server.
00:56That's the one thing it won't do for you.
00:58It will even open your default web browser to preview your Web Photo Gallery for you.
01:04Let's take a look at how we can work with Web Photo Gallery in Photoshop CS3.
01:08I am going to go to the File menu and I am going down to Automate and over
01:13to Web Photo Gallery.
01:16I've already filled out some of the fields in this Web Photo Gallery for you.
01:19The fields are sticky and so if you've used Web Photo Gallery before, you'll
01:23have different information in some of these fields.
01:26Let's take a look at this first menu.
01:28This is the Styles menu, which list the styles of Web Photo Gallery templates
01:33that are available to you.
01:35As you select a choice here, it appears over on the right.
01:38So you can go through and choose the one that looks good to you.
01:42We have some HTML-based templates.
01:44We have a couple of Flash templates that offer interactivity and animation and even music.
01:50We have a Slideshow template, and we have some templates that allow you to
01:55converse with your audience, some Feedback templates.
01:57I am going to choose this Horizontal Neutral template for now.
02:02The first field here is the Email field.
02:04You can type in your email address, if you'd like to have that appear on the
02:08initial page of the website.
02:10But you don't have to type anything in here, if you don't want to.
02:13I'll go ahead and leave my email address here, so that we can see what it looks
02:16like on the Web Photo Gallery.
02:19The Source Images area is where you identify a folder of images that you're
02:24going to use in your Web Photo Gallery.
02:26I am going to click Choose here, and I am going to navigate to my Desktop/my
02:32Exercise Files/my chapter14_ automation folder and my tea photos folder.
02:41Notice that this folder has a number of photographs in it. Some of them are
02:45TIFFs, some are PSDs.
02:47I'll choose this tea photos folder as my source images and then I am going to
02:52choose a Destination folder.
02:54I'll click the Destination button and again, I'm going to go to my
02:58Desktop/Exercise Files/my chapter14_ automation folder and I'm going to choose
03:04the gallery folder, which is just an empty folder that I included in the
03:08Exercise Files for you, in which to save your Web Photo Gallery.
03:12We'll click Choose and let me show you quickly what other options there are.
03:16Depending on which template you've chosen, you'll have different choices in
03:21the Options area here.
03:22If I click the General menu, I can choose to see options that relate to the
03:27web page banner, such as the site name, and the name of the photographer and the date.
03:33I usually don't put anything in the Date field, because I like my websites to remain timely.
03:38So I'll take the date away by selecting it and deleting.
03:41I've typed a site name that will appear at the top of the first page of the
03:46site, and I've typed the name of the photographer who contributed the images
03:50that we're using on our Web Photo Gallery.
03:52I can then go back to the Options menu and choose the Large Images area.
03:57Here I can resize the larger images for this website.
04:02I can choose from some presets, like Small, Medium or Large, or I can just type
04:06some number of pixels in here.
04:08I can also set the JPEG Quality, which determines the way that the images are
04:13going to be compressed for this Web Photo Gallery.
04:15I might change this to 10 to make sure that my photos look good.
04:21I can set a border size for my photos or I can just set this to 0.
04:25I can choose to have the file name of each photo printed under the photo, and if
04:30I have specified the title of a photo in the metadata, for each photo, I can
04:36also choose to display that and different Web Photo Gallery styles allow you to
04:41display different kinds of information underneath each photo, like its
04:44copyright, its description, its credits, all of which you can enter ahead of
04:48time into Photoshop's File Info field.
04:51I am going to go back to the Options menu and let's look at the Thumbnail options.
04:56Here again, we can set the size, we can set a border.
04:59I'll just leave these at their defaults.
05:01In the Custom Colors area, we can change the color of the website background.
05:07We can change colors of text and links as well,
05:09although I normally leave these colors at their defaults, because Adobe has
05:13chosen some pretty nice designs as they are.
05:16I am going to go back to Options and down to the last category, which is Security.
05:21Here, we have some interesting choices.
05:23In the Content field, we can choose to add in either Copyright information or Custom Text.
05:29I am going to choose Custom Text so that you can see what happens if I type
05:33'proof' in the Custom Text field.
05:35Then I am going to choose a Font Size for that text.
05:38We'll make this something like 30 points.
05:41I can choose the color, either Black, White or a Custom color.
05:45So for example, I can choose a Grey here.
05:47I can dictate how opaque this text should be and I can choose a position for it:
05:54Top Right, Bottom Right.
05:56I'll leave it down at the Bottom Right.
05:58I can even choose to rotate at 45 Degrees.
06:00So for example, if I wanted to make sure that these images all were marked
06:04proof, I would choose 45 Degrees and Centered and the word, proof, would appear
06:10right in the middle of those images.
06:12But for now, let's put our security text down at the bottom-right and we are
06:17done going through the fields and menus for this particular style.
06:21And as I mentioned, you have different choices depending on which style you have settled on.
06:25I am going to click OK, and we are going to see, in just a second, Photoshop
06:31resizing and compressing all of the images in the source folder and opening our
06:35default web browser, so that we can preview our new Web Photo Gallery.
06:40Here, at the top, you can see the information that we entered into the banner section.
06:45The site name, the photographer's name and the email address.
06:49If you click this email address, your default mail program will open with an
06:53email message already addressed back to you, the Web Photo Gallery creator.
07:00Here we have thumbnails of the various images that were in our source folder and
07:04as I clicked through these, each one appears in larger format up here in the
07:09middle of this web page.
07:11Another way to navigate through these images is to click the arrows on
07:15either side of the image.
07:18As you can see, we can display vertical images as well as horizontal and if
07:24you look down at the bottom-right, you'll see the word 'proof', which I typed
07:27in as my security text.
07:28You remember I asked for it to be at the bottom-right and to be in a light gray
07:33color and to be 50% opaque.
07:35You'll also see down here that Photoshop has included the file name of the
07:39images, which is another choice that we made as we set up our Web Photo Gallery.
07:44Also notice that Photoshop has made these navigation elements, these arrows, and
07:49the banner and this logo and the other elements that you see on this web page.
07:53So that's an introduction to using the Web Photo Gallery.
07:56I'm sure you'll explore it more on your own and try out the various templates
07:59and the options that they offer.
08:01In the next movie, we are going to take a look at making collaborative Web
08:04Photo Galleries.
Collapse this transcript
Creating a collaborative gallery
00:01Now that you know how the Web Photo Gallery feature works, let's take a look at
00:05a specific kind of Web Photo Gallery feature, one that allows you to collect
00:09feedback from your audience.
00:11I am going to go to the File menu at the top of the screen and down to the
00:14Automate menu, and down to Web Photo Gallery.
00:18In the Web Photo Gallery dialog box, I am going to click the Styles button and I
00:22am going to choose one of the templates that has the word 'feedback' in it.
00:26There are several here.
00:27Here is the Horizontal - Feedback, the Centered Frame 2 - Feedback.
00:32Let's try that one.
00:32I am going to leave my email address here in the Email field.
00:36This will allow a viewer on the web to contact me by email directly through the
00:41website to offer feedback on the images on this site.
00:45In the Source Images area, I am going to click Choose and I am going to navigate
00:49to my Exercise Files, to the chapter14_ automation folder and again, to tea photos
00:55folder, and I will click Choose.
00:56I will click the Destination button and again, I will go to Exercise Files,
01:02chapter14_automation and this time, I'm going to choose collaborative, which is
01:07an empty folder that I have placed here, so that you'd have a destination for
01:11your Web Photo Gallery.
01:12We will click Choose.
01:15In the Options section, I could come in and adjust the Banner, the Large Images,
01:19the Thumbnails, the Custom Colors and the Security areas.
01:23But I'm going to leave all of those choices as is using the same settings that I
01:27used in the last movie, and I am just going to click OK.
01:31It takes Photoshop just a couple of minutes to create this collaborative Web
01:35Photo Gallery, which opens in the default web browser.
01:38Let's take a look at what we have here.
01:40Here we have all the banner information that we had in the last movie.
01:44The title of the site, the name of the photographer, the date, and my email
01:47address, I am the creator of this site.
01:49And then over on the left we have thumbnail images, and if we click those, on
01:53the right, we see larger versions of each thumbnail.
01:57Each thumbnail even has the security text that we added in the last movie.
02:02Now here is what's interesting about the collaborative style Web Photo Galleries.
02:07Here at the bottom, we have two tabs, we have Image Info and we have Feedback.
02:12Let's take a look at Image Info.
02:13Your web viewer can click on Image Info in her web browser and that opens a
02:19small card with information about the selected image.
02:22In this case, we just have the file name,
02:24but if you'd entered the Title, the Description, the Credits and the Copyright
02:29into the File Info dialog box in Photoshop, that would all appear here.
02:34The web viewer can also click on the Feedback tab and that offers this area, where
02:40she can check that she approves the selected image or she can check other.
02:44In both cases, she can write a comment here.
02:47So let's say that she clicks Other and then writes here "Do you know the
02:54"origin of this teapot?
02:59I would like to purchase it from you."
03:05This feedback can be saved or removed, or your web viewer can click this button
03:10to send you an email message about this image.
03:13Let's chose Email Feedback and see what happens.
03:16Your viewer can type her name, we'll type 'Andrea' and click OK.
03:22That opens her default mail program, with an email message addressed to me, the
03:26creator of the Web Photo Gallery site.
03:29The Subject is already filled in, and we also have the information here that
03:33comes from the Feedback form in the website.
03:36So as you can see, we have the name of the file, the viewer checked Other and
03:44so it says here in the message Other and then we have a copy of the viewer's comments.
03:50So this is a great way for people who come to your website and look at your
03:53images to communicate with you about the images.
03:56You could use this feature to sell images, you could use it to answer questions
04:00about your images, or you can collaborate with others.
04:02Let me close this mail message and go back and close both of the tabs on the site.
04:09So this is the collaborative Web Photo Gallery.
04:11There are several different styles of these collaborative galleries.
04:14So that's how you can create a Web Photo Gallery with a minimum of effort, that
04:18allows you to communicate and collaborate with your audience.
04:22In the next movie, we are going to take a look at a Flash Web Photo Gallery to
04:26which you can add music.
Collapse this transcript
Creating a Flash-based web photo gallery
00:01Photoshop CS3 includes some very interesting web photo galleries in the Flash format.
00:06They allow the users to interact with your Web Photo Gallery and they let you
00:10add music to your gallery.
00:12Let's take a look at one of those.
00:13Before we go into the Flash Web Photo Gallery feature, let's take an audio file
00:18and put it in a place, inside of the Photoshop application folder, where the Web
00:23Photo Gallery will recognize it.
00:26If you're working along with me, you can open your Exercise Files folder and
00:32navigate to the chapter14_automation folder.
00:35There you will find a file called useraudio.mp3.
00:40On the Mac, I'm going to open another Finder window, and on a PC, you can go
00:45into C:/Program Files/Adobe/Adobe Photoshop CS3.
00:50Once you are in the Adobe Photoshop CS3 folder, on both platforms, you can
00:55navigate to Presets and then down to Web Photo Gallery, and here you see a
01:01folder for each one of the styles that come with the Web Photo Gallery feature.
01:05I am going to select Flash-Gallery 1 and then I am going to copy the
01:10useraudio.mp3 file from the Exercise Files folder into this Flash Gallery 1 folder.
01:16I will hold down the Option key on a Mac as a drag, and the Alt key on a PC as I drag to do that.
01:23By the way, any music file that you want a Flash Web Photo Gallery to recognize
01:27has to be named this way, useraudio.mp3.
01:31We will close our Finder windows and let's open Photoshop.
01:39In Photoshop, we will go to File, down to Automate and down to Web Photo Gallery.
01:45In the Web Photo Gallery dialog box, I'm going to go to the Styles menu and I am
01:49going to choose Flash-Gallery 1.
01:52You can see a little thumbnail of what that looks like over on the right, and
01:56information about including music there, and also a small warning that Flash
02:01content requires the Macromedia Flash plug-in to view.
02:05That's really not a problem because most web browsers do include the Flash plug-in,
02:10so we won't worry about that.
02:11We are going to come down to our Use Folder and we are going to click Choose and
02:15once again, I'm going to my Exercise Files folder/chapter14_automation and I am
02:20going to select my tea photos folder, and click Choose.
02:25As a Destination, I am going to navigate to the Exercise Files, again, to
02:29chapter_14 automation and I'm going to choose the Flash folder.
02:33This is another empty folder that I have put here for you to use as a
02:36destination for the files created by your Web Photo Gallery and I will click Choose.
02:42From the Options menu, we can see that we have the same kinds of options that
02:46we've had for other styles,
02:47so I am just going to leave everything at its default.
02:50Because the options are all sticky, these defaults are the same as the settings
02:54that I chose in the last movie.
02:56I am going to click OK and Photoshop very quickly resizes the images for use in
03:02this Web Photo Gallery, and it opens my default browser -
03:06(Guitar playing)
03:28I just click the icon on the bottom right to turn the sound off and, as you can
03:33see, I also have a slideshow running, which I started running by clicking this
03:37icon on the bottom right.
03:41Notice that as the Web Photo Gallery displays vertical and then horizontal
03:45images, it resizes itself to fit those images, and it's just running through
03:51my images one by one.
03:53I can click the Stop button right here and that stops the slideshow and then I
03:58can come in and manually move from thumbnail to thumbnail underneath the larger image.
04:05Notice as I move my mouse over one of these thumbnails, the thumbnail enlarges
04:09and I see the name of the image to the right.
04:17If I want to remove all the thumbnails, I can just come down to my icons on the
04:20bottom right again and click this icon right here.
04:25The thumbnails go away and we have a nice view of our larger image and if I roll
04:29over that image, information about the image pops up below.
04:32Another icon down on the bottom right is a question mark, and that also invokes
04:36this information about the image.
04:38And finally, if I want to remove all the icons on the bottom right, I can click
04:42this X and they go away.
04:44To bring them back, I will click the X again.
04:47So that's the kind of interactive Flash Web Photo Gallery that you can create in
04:52Photoshop CS3, complete with music.
Collapse this transcript
Using the Image Processor
00:01One of the most useful automation features in Photoshop CS3 is the Image Processor.
00:05Let's open it and then I will tell you what it can do for you and show you how to use it.
00:10I am going to go to the File menu and down to Scripts and there is the Image Processor.
00:15Now, don't be fooled, the Image Processor, although it's an automation feature,
00:19is not located under the Automate menu.
00:22So we will choose the Image Processor from the Scripts menu and that opens the
00:26Image Processor dialog box.
00:28The Image Processor will really save you time and effort when you're processing
00:32multiple images for a website.
00:34So let's say, for example, you have a number of digital photographs and you would
00:39like to resize them to thumbnail size to use on a web page, and you want those
00:44thumbnails to be JPEGs, but you would also like to have a copy in the PSD format.
00:48Let's say you want to add copyright information to all the photos, and run a
00:52custom action to be something like sharpen them or change them to black and
00:56white or sepia tone them.
00:58You can do all of that from right here in the Image Processor.
01:01Let's walk through the steps of using the Image Processor.
01:04The steps are clearly marked to make it easy.
01:06Here is step number one, where we are going to select which images we are going
01:09to run through the Image Processor.
01:11I have put some images in a folder for you so we can just click Select folder.
01:15If you wanted to work on images that were not already in a single folder, then
01:19what I'd suggest you do is to go to Bridge CS3, Command+Click or Ctrl+Click on
01:24individual images to select them and then go up to the Tools menu, in Bridge CS3,
01:28from which you can also invoke the Image Processor.
01:31But we will just click Select Folder, and we are going to go to our Desktop and
01:35our Exercise Files and we are going down to the automation folder and I'm going
01:40to select the outdoor photos folder, which contains a number of PSD files.
01:44We will click Choose.
01:46This command, Open first image to apply settings, isn't relevant to us.
01:50That applies when you're working on images that you have corrected in Adobe Camera Raw.
01:55So let's go to step two.
01:56Now, we are going to select a destination for the images after they come out of
02:00the Image Processor.
02:01We could save them all into the same location as our source files, or we can
02:05click Select Folder, click to Select Folder button and go back to our Exercise
02:10Files, down to chapter14_automation and let's select this processed folder, which
02:16is just an empty folder that I created for you as the destination for your
02:19processed files, we will click Choose.
02:22Here comes the interesting part.
02:24In step three, we get to choose a File Type. Because we are creating images for a
02:28website, of course we want to save JPEGs.
02:30So I will click there and in the JPEG area, I can choose what size to make these images.
02:37Now this is not going to resize each image in my source files folder to the
02:42exact same size, and we don't want to do that because some of the images are
02:45horizontal and some are vertical.
02:47Instead, what we are going to do here is to specify an imaginary box into which
02:52all the images will be resized to fit.
02:54So in the Width field, for example, I am going to type 150 pixels and that means
02:59that none of the images will be larger than 150 pixels in width, and I will
03:04type 225 in the Height field. That means none of the images would be taller than 225 pixels.
03:11We can also come over and set the Quality of the resulting images.
03:14I generally set this to 8, which is a good compromise.
03:17This can go to a maximum of 12.
03:19And if you complete the process and you don't like the compression quality of
03:24the resulting images, you can always come back and change the Quality and go
03:27through the whole process again.
03:29Finally, I'm going to choose Convert Profile to sRGB so that the color of our
03:34images is as we expect it to be when viewed on a typical web browser.
03:38If you would like to learn more about this subject, you can go back and review the
03:42movie on Color Management in the Color chapter.
03:44So I'm going to select Convert Profile to sRGB here.
03:48If I want, I can also save a copy of this file as a Photoshop document or as a
03:53TIFF, resizing those as appropriate for my needs.
03:57But here, I just want the JPEG.
03:58So I will uncheck Save as TIFF.
04:01At the bottom, in step four, we can go to the Copyright Info field where we can
04:05specify copyright information that will be added as metadata to each one of the
04:11resulting processed photos.
04:13I am going to click in that field and first I am going to enter a copyright symbol.
04:17The way you do that on the Mac is you press Option+G. If you're on a PC, go to
04:22your numeric keypad on the keyboard and type in Alt+0169.
04:28Now I am going to type my copyright information, I will type the name of the
04:31photographer and the date.
04:33I'm not going to check Include ICC Profile, which has to do with color management.
04:38As we learned in previous movies, most web browsers can't make use of ICC profiles.
04:42Notice there is also a Run Action field here.
04:45In the next movie, we are going to be creating an action to sharpen photos, and
04:49then we're going to run that action from here in the Image Processor.
04:54But for now let's leave that field blank, and let's click the Run button to set
04:58the Image Processor to work.
05:01In just a few minutes, it will have resized, optimized as JPEG and added copyright
05:06information to every one of these photographs for us.
05:09Let's go and see the results.
05:12On my Desktop, I am going into my Exercise Files and into my automation folder
05:16and into my processed folder where I see a new sub-folder called JPEG that the
05:21Image Processor made for us.
05:23I'll expand that folder and here you can see we now have a JPEG copy of each
05:28one of original images.
05:29If I open one of those, you can see that it is indeed smaller.
05:33If I look in the Information area down here I will click the arrow and I will
05:37choose Show and I'm going to choose Document Dimensions.
05:41To contribute that this image really has been resized and it will fit within our
05:45imaginary box that's a 150 pixels wide and 225 pixels tall.
05:50Also if you look in the title bar of the image, you can see the copyright symbol.
05:54This copyright symbol is coming from the metadata that we added using the
05:58Image Processor and if you'd like to see the text that goes with this
06:02copyright, you can go to the File menu and down to File Info and here in the
06:08File Info dialog box, you will see in the Copyright Notice field the text that
06:12we entered into the Image Processor.
06:14So I am just going to cancel out of here, and we will close this image.
06:19So as you can see, the Image Processor can save you lots of time and effort.
06:23In the next movie, we are going to create an action and use the Image Processor
06:26to run that action at the end of all of the other steps to sharpen the images
06:31that it's working on.
Collapse this transcript
Automating actions with the Image Processor
00:01In the last movie, we were walking through the steps of using the Image
00:04Processor to process multiple images all at once.
00:08In this movie, we're going to turn our attention to the last step in the Image
00:11Processor, Run Action.
00:13In Photoshop CS3, whatever you specify here as an action will be run after all of
00:19the other steps have taken place, including the resizing of your images.
00:23That means that we have a perfect setup here for sharpening our images, because
00:27generally, you want to sharpen photographs and pretty much any digital image at
00:31the end of your workflow and certainly after you have resized the image, as we
00:36have here for use on our website.
00:38So what we're going to do in this movie is create an action that records the
00:43steps of sharpening one photograph, and then we will use the Image Processor to
00:48apply that sharpening action to multiple photographs.
00:51So let's cancel out of the Image Processor for now and I'm working here on an
00:55image called outdoor_cup.psd.
00:58If you've access to the Exercise Files, you'll find this image in your Chapter 14 folder.
01:04Notice that the size of this image is 150x225 pixels and that's just about the
01:10size of the images that will be coming out of the first three steps of our Image
01:15Processor just before we run the sharpening action on them.
01:18If these pixel dimensions are not visible to you, stretch the document window
01:22out to provide enough room to display this information.
01:26You may also need to go into Photoshop Preferences>Units & Rulers and set Rulers
01:31to display Pixels rather than Inches.
01:34We want to match up the sizes of those files, because the ideal controls for
01:39sharpening depends in large part on the size of an image.
01:42We'll begin making our sharpening action by opening the Actions panel.
01:46If you've set your panels to the default workspace, you'll find the Actions
01:50panel here under this icon in the Collapsed column of panels.
01:53I'll click that icon to see the pop-out Actions panel.
01:57We're looking at the default actions that come with Photoshop.
02:01I'm going to create