Home
» Wiki
»
How to Insert a Photo into a Shape in Photoshop
How to Insert a Photo into a Shape in Photoshop
This tutorial will show you how to insert a photo into a shape using Adobe Photoshop . As you will see, it is easy to place a photo into any type of shape, from a basic rectangle or circle to a fancy custom shape. This tutorial will use a custom shape and the article will show you how to load all the missing shapes into Photoshop for a wide range of options.
Start by creating a new Photoshop document. If you're on the main screen, click the New file button .
Click the New file button on the main Photoshop screen
Or you can go to the File menu in the menu bar and select New .
Go to File > New.
Either way, the New Document dialog box will open, where you can enter the necessary settings in the right column. The example will create a square document by setting both Width and Height to 2000 pixels.
Since we'll be placing an image into the shape and images are usually saved at a higher resolution, change the Resolution value to 300 pixels per inch and leave the Background Contents set to White .
Set up a new Photoshop document
Then click the Create button .
Click the Create button to create a new Photoshop document.
And Photoshop creates a new document.
New Photoshop Document
Step 2: Open the Shapes panel
The quickest way to draw custom shapes in Photoshop is to add them from the Shapes panel. To open this panel, go to the Window menu and select Shapes.
Open the Shapes panel from the Window menu
The Shapes panel opens in the sub-panel column to the left of the main panels. You can show or hide the panel by clicking the panel icon.
Photoshop's Shapes panel opens in the subpanel column.
At first, all we see are default shapes divided into groups.
Photoshop default custom shape groups
You can rotate any group to reveal the shapes inside that group by clicking the arrow next to that group's folder icon.
View shapes within a group
And you can drag the bottom of the Shapes panel down to expand and see multiple shapes at once.
Expand the shape panel
Step 3: Load the missing shapes
To load all the missing shapes available in Photoshop, click on the Shapes panel menu icon .
Click the menu icon.
Then, select Legacy Shapes and More .
Load the Legacy Shapes and More group.
A new Legacy Shapes and More group appears below the defaults.
New Legacy Shapes and More group.
And inside there are two more groups. 2019 Shapes contains hundreds of new shapes added to Photoshop 2020. And All Legacy Default Shapes contains classic shapes from older versions of Photoshop.
2019 Shapes and All Legacy Default Shapes
Step 4: Choose a shape
This tutorial will use one of the classic shapes. The example will open the All Legacy Default Shapes group.
Open the All Legacy Default Shapes group
Then scroll down to Nature and click to open.
Open Nature group
And inside Nature, use the butterfly shape.
Select butterfly image
Step 5: Drag and drop the image onto the canvas
To add a shape, simply click and drag a shape thumbnail from the Shapes panel and drop it onto the canvas.
Drag a shape from the Shapes panel onto the canvas.
Photoshop draws the shape when you release the mouse button.
Photoshop drawing.
Step 6: Resize and center the image
Before resizing the image, go up to the Options Bar and make sure the link icon is selected between the Width and Height fields so that the image's aspect ratio is locked.
Make sure the width and height are linked together.
Then, resize the shape by clicking and dragging any of the transform handles. If you hold down the Alt (Win) / Option (Mac) key on your keyboard as you drag, you'll resize the shape from its center.
Drag the handle to resize the shape.
Click and drag the shape to the center of the canvas. As you get closer to the center, it will snap into place.
Drag the shape to the center.
Then click the check mark in the Options Bar to accept.
Click the check mark to accept the size and position of the shape.
In the Layers panel , the shape appears on its own layer. We know it's a shape layer by the icon in the lower right corner of the thumbnail.
Photoshop's Layers panel showing the new shape layer.
Step 7: Check the Fill and Stroke options in the Properties panel
With the shape layer selected, the Properties panel gives access to all of the shape's options, including Fill and Stroke.
Shape options in Photoshop's Properties panel.
By default, Photoshop uses black for the Fill color, which is okay since we won't see that color anyway after inserting the image into the shape.
But Photoshop also adds a 1 pixel black stroke around the shape.
Default Fill and Stroke for shapes.
You can add Stroke later if you want. But for now, turn off Stroke by clicking on the Stroke color swatch:
Click on the Stroke color swatch
And click the No Color icon in the upper left corner of the panel. Then click outside the panel to close it or press Enter (Win) / Return (Mac) on your keyboard.
Set Stroke to No Color.
Step 8: Place the image in the document
Next, we'll place our image into the document. And since we want the image to appear in the same document as our shape, let's use Photoshop's Place Embedded command.
Go to the File menu and select Place Embedded .
Select the Place Embedded command from the File menu.
Navigate to where the image is saved on your computer. In our example, the image is in a folder on the desktop. Click the image to select it, then click Place .
Select the image and click Place.
Photoshop will add the image in front of the shape. If the image is larger than the document size, Photoshop will resize it to fit. The image used is from Adobe Stock.
The image is placed in front of the shape.
We will resize the image after placing it in the shape. Now click the check mark in the Options Bar to accept.
Click the check mark in the Options Bar.
Back in the Layers panel, the image appears on a new layer above the shape layer. And notice that Photoshop has converted the image into a smart object, which we can tell by the smart object icon in the bottom right corner of the thumbnail. This means that no matter how many times we resize the image, the quality of the image will not be reduced.
Photoshop sets the image as a smart object.
Step 9: Create clipping mask
The image is currently in front of the shape. To place the image in the shape, click the Layers panel menu icon.
Click the Layers panel menu icon.
Then select Create Clipping Mask .
Select the Create Clipping Mask command.
A clipping mask will clip the image to the underlying shape, meaning that the only part of the image that remains visible is the area directly above or in front of the shape. Any part of the image that falls outside the shape is hidden from view, creating the illusion that the image is actually inside the shape.
Result after inserting image into shape.
Back in the Layers panel, notice that the image layer is now indented to the right, with a little arrow pointing down to the shape layer below. This is Photoshop's way of telling us that we've created a clipping mask.
The Layers panel shows the clipping mask.
Step 10: Resize and reposition the image using Free Transform
To resize and reposition the image inside the shape, go to the Edit menu and select Free Transform .
Result after cutting image into shape.
In the Options Bar, make sure the link icon is selected between the Width and Height fields.
Make sure the link icon is selected.
Then, resize the image by dragging any of the transform handles. You can hold down the Alt (Win) / Option (Mac) key on your keyboard as you drag the handle to resize the image from its center.
Resize the image inside the shape.
Then, drag the image to position the object within the shape. You may need to switch back and forth between resizing and repositioning the image until you get it right.
Position the image inside the shape.
When you're done, click the check mark in the Options Bar.
Click the check mark in the Options Bar.
How to change background color
Now that we have placed the image into the shape and the main effect is complete, there are a few things we can do next. We can add a stroke around the shape, change the background color behind the shape, or remove the background completely.
We’ll start by showing you how to change the background color. And the easiest way to do that is to use a Solid Color fill layer.
Step 1: Add a Solid Color fill layer
We want the Solid Color fill layer to appear just above the Background layer. So in the Layers panel, click on the Background layer to select it.
Select the Background layer in the Layers panel.
Then, click the New Fill or Adjustment Layer icon at the bottom of the Layers panel :
Click the New Fill or Adjustment Layer icon.
And select Solid Color from the top of the list.
Add a Solid Color fill layer.
Step 2: Choose a new background color
Photoshop opens the Color Picker so we can choose a new color for the background. The default color is black, which definitely brings out the details of the shape. But in this case, as a background color for a butterfly, it's too dark.
Effect with black as background color.
You can choose a different color from the Color Picker. But you can also sample a color directly from an image inside a shape. Just hover your mouse over the image and the cursor will change to a dropper. Then click the color you want to sample.
For example it will sample a light skin tone from the girl's forehead and it will instantly become the new background color.
Sample a new background color from the image inside the shape.
Once you find a color you like, click OK to close the Color Picker. And back in the Layers panel, we see that the Solid Color fill layer has been added between the Background layer and the Shape layer above.
Photoshop's Layers panel showing the new Solid Color fill layer.
How to add strokes around shapes
Another way to enhance the effect is to add strokes around the shape.
Step 1: Select the shape layer
First, in the Layers panel , click on the shape layer to select it.
Select the shape layer in the Layers panel.
Step 2: Add stroke layer effect
While you can add strokes from the Properties panel , many people still prefer the old-fashioned way of adding them using layer effects. So, with the shape layer selected, click the fx icon at the bottom of the Layers panel :
Click the layer effects icon in Photoshop's Layers panel.
And select Stroke .
Add Stroke layer effect.
Photoshop opens the Layer Style dialog box with Stroke options in the middle column. To change the color of the stroke, click the color swatch.
Click the color swatch in Photoshop's Layer Style dialog box.
Then, select a new color from the Color Picker. For example, we will select white by setting the R, G, and B values to 255. Click OK when you are done to close the Color Picker.
Select white for the stroke from the Color Picker.
Back in the Layer Style dialog box , set the Position to Outside so that the stroke appears around the outside of the shape. Then, increase the Size value to adjust the thickness of the stroke. For the example image, a size of around 18px is suitable.
Set the position and size of the stroke in the Layer Style dialog box.
Click OK to close the Layer Style dialog box . And here is the result with the stroke around the shape in the example.
Result with white stroke added around the shape.
If you decide you don't like the stroke, you can turn it off in the Layers panel by clicking the visibility icon next to the word Stroke .
Click the visibility icon for the stroke layer effect.