Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Replacing the contents

From: Photoshop CS5 Smart Objects Workshop

Video: Replacing the contents

This distorted view of a photograph lying on a table is actually a Smart Object. If we wish we can further distort and even undistort this object, and Photoshop will always refer to the full set of layers contained within the Smart Object. What we're going to do here though is replace the contents with another photograph entirely. And here is the photograph we're going to use. Let's start by selecting it. We'll choose Select All and then Copy. So that image is now copied to the clipboard. Back to our original, and let's zoom in on this a little.

Replacing the contents

This distorted view of a photograph lying on a table is actually a Smart Object. If we wish we can further distort and even undistort this object, and Photoshop will always refer to the full set of layers contained within the Smart Object. What we're going to do here though is replace the contents with another photograph entirely. And here is the photograph we're going to use. Let's start by selecting it. We'll choose Select All and then Copy. So that image is now copied to the clipboard. Back to our original, and let's zoom in on this a little.

As I said, this is a Smart Object layer and it contains the three original layers that we used to build it. When we double-click on it, it opens up as a separate Photoshop document. Notice it's called PSD and that's the term that Photoshop uses for its internal document structure. And we can see it's indeed made of our three original layers, the backing the original photo and the texture on top. Let's go to Edit > Paste.

And this is the picture we just copied to our clipboard. We want it to appear behind the texture, so we'll drag it down, beneath the texture layer. And we only want it to show up where it overlaps the original photograph beneath. So let's make a Clipping Mask of the original photo, which we can do by going to Layer, > Create Clipping Mask. This means that as we move it around, this layer only shows up where it overlaps the layer beneath. And we can use this to our advantage.

By scaling it, we'll use Free Transform to fill the space. And as we can see, it only shows up where it overlaps our original photograph. So let's hit Enter to apply the free transformation. I'm going to make this smaller so we can see more of the image behind. Now let's move it out of the way. The image behind shows the full document that we're working on and it shows the original state of the Smart Object and that's because we haven't saved it yet. When we go to File > Save.

We can see instantly the new layer we just pasted in reappears in our Smart Object and it appears exactly in place with the same distortions we applied to the original object. But there's more to it than this. Let's work on the Smart Object again. And we'll go into Free Transform, once again, so we can further distort this. Now, if this were a regular layer, and we went into Free Transform having already applied the transformation to it, we'd expect to see a squared up Free Transform box around the edge.

Because it's a Smart Object, we get something slightly different. As we go into Free Transform, it loads up with the previous transformation intact showing it exactly as we last left it. Let's take this further, and let's take the image warp button. And what this allows us to do is let us apply a more free form transformation to our layer. We can grab the corners and we can lift them up for a kind of curling effect, and this goes to make the photograph just a little bit older, a little bit more used.

And lets bend our handles down a little bit here to distort it further, and again we can click Enter to apply that transformation. And you can see here why we had made the shadow so it fit our old photograph exactly. Although the photograph is now curled, the shadow isn't and that's the key to making a shadow successfully look as if our picture is lying on a flat surface. With the light coming from above, although the photograph is curled, the shadow lies in a straight line flat on our surface.

If we were to go into Free Transform once more, it will show us our transformation handles, as we would expect. If we then click on the Image Warp button, it loads up the Image Warp exactly as we last left it with all the handles in place, so we can adjust more if we chose to. Once again, if we double-click this old photograph, it opens up the Smart Object. And there it is with all our layers intact. We could replace this photograph with yet another photograph or we could choose to hide it. We can do that of course by clicking on the Eye icon, and when we now save this Smart Object, and I'm going to use the keyboard shortcut, Cmd + S on the Mac, Ctrl + S on the PC.

It will save it back into our distorted view of the object lying on the surface. The ability to replace the contents of one smart object with another is of tremendous benefit to the Photoshop artist. As it means we're able to create a complex image once and then repurpose it multiple times. It's also perfect when working for those clients who change their minds at the last minute. We no longer have to repeat all our work a second time.

Show transcript

This video is part of

Image for Photoshop CS5 Smart Objects Workshop
Photoshop CS5 Smart Objects Workshop

34 video lessons · 816 viewers

Steve Caplin
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Photoshop CS5 Smart Objects Workshop.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.