1 In the Layers palette, select a layer for which you want to define variables. Note: You cannot define variables for the Background layer.
2 Choose Image > Variables > Define, or choose Variables from the Layers palette menu.
3 Select one or more types of variables:
• Visibility to show or hide the content of the layer.
• Pixel Replacement to replace the pixels in the layer with pixels from another image file.
Note: You specify the replacement image when you define a data set. (See "Using data sets" on page 503.)
• Text Replacement to replace a string of text in a type layer.
4 If desired, enter names for the variables. Variable names must begin with a letter, underscore, or colon and cannot contain spaces or special characters (except for periods, hyphens, underscores, and colons).
5 For Pixel Replacement variables, click Pixel Replacement Options, and do the following:
• Choose a method for scaling the replacement image: Fit to scale the image to fit within the bounding box (which may leave parts of the bounding box empty); Fill to scale the image to entirely fill the bounding box (which may cause the image to extend beyond the bounding box); As Is to not scale the image; Conform to scale the image non-proportionally to fit within the bounding box.
• Click a handle on the alignment icon S to choose an alignment for placing the image inside the bounding box.
• Select Clip to Bounding Box to clip areas of the image that do not fit within the bounding box. This option is only available when the Fill replacement method or As Is replacement method is selected.
6 To define variables for an additional layer, choose a layer from the Layer pop-up menu. Repeat Steps 3 through 5.
7 Click OK.
Was this article helpful?
Adobe Photoshop can be a complex tool only because you can do so much with it, however for in this video series, we're going to keep it as simple as possible. In fact, in this video you'll see an overview of the few tools and Adobe Photoshop features we will use. When you see this video, you'll see how you can do so much with so few features, but you'll learn how to use them in depth in the future videos.