New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Dreamweaver CS6 Essential Training
Illustration by

Placing images on the page


From:

Dreamweaver CS6 Essential Training

with James Williamson

Video: Placing images on the page

Regardless of what you're doing, having multiple options for completing the task at hand is a good thing. When it comes to placing images on the page, you have plenty of options to choose from in Dreamweaver. In this movie, we'll examine different methods for getting images onto your webpages and discuss the pros and cons of each one. To do that, I'm going to use two files this time, so I have the index.htm file open and I have the spotlight.htm file open. You can see, when you've got multiple documents open in Dreamweaver, you get tabs up here and I can just tab back and forth between those two.
Expand all | Collapse all
  1. 1m 4s
    1. What is Dreamweaver?
      1m 4s
  2. 5m 44s
    1. Welcome
      1m 4s
    2. Using the exercise files
      2m 17s
    3. Learning web design
      2m 23s
  3. 1h 0m
    1. Looking at the Welcome screen
      5m 9s
    2. Exploring Windows and Mac interface differences
      5m 6s
    3. Arranging panels
      8m 44s
    4. Managing workspaces
      10m 14s
    5. Exploring the Application toolbar
      6m 21s
    6. Exploring the Document toolbar
      8m 47s
    7. Working with the Property inspector
      9m 30s
    8. Using the Insert panel
      6m 30s
  4. 53m 3s
    1. Understanding basic site structure
      3m 46s
    2. Exploring file naming conventions
      2m 10s
    3. Defining a new site
      5m 23s
    4. Managing files and folders
      7m 57s
    5. Adding remote servers
      7m 4s
    6. Uploading files
      12m 46s
    7. Previewing in browsers
      9m 11s
    8. Managing multiple sites
      4m 46s
  5. 36m 41s
    1. Creating new documents
      6m 49s
    2. Setting up new document preferences
      5m 30s
    3. Setting accessibility preferences
      6m 49s
    4. Working with starter pages
      4m 32s
    5. Managing starter pages
      13m 1s
  6. 37m 23s
    1. Getting text into Dreamweaver
      8m 43s
    2. Importing Word documents
      4m 6s
    3. Adding structure to text
      7m 35s
    4. Creating lists
      4m 35s
    5. Creating definition lists
      4m 0s
    6. Using the Quick Tag Editor
      8m 24s
  7. 44m 41s
    1. Exploring the Code toolbar
      5m 41s
    2. Setting code preferences
      7m 19s
    3. Using code hints
      8m 8s
    4. Wrapping tags
      5m 7s
    5. Adding comments
      6m 29s
    6. Using snippets
      7m 32s
    7. Formatting source code
      4m 25s
  8. 1h 19m
    1. Setting CSS preferences
      9m 32s
    2. An overview of the CSS Styles panel
      9m 23s
    3. Creating a new CSS rule
      6m 42s
    4. Using the CSS Rule Definition dialog
      7m 25s
    5. Organizing styles
      7m 22s
    6. Modifying style properties
      6m 17s
    7. Controlling CSS through the Property inspector
      6m 37s
    8. Attaching external style sheets
      5m 54s
    9. Using CSS visual aids
      7m 3s
    10. Using CSS Inspect
      6m 48s
    11. Using the Code Navigator
      6m 39s
  9. 1h 11m
    1. Managing assets in Dreamweaver
      7m 30s
    2. Setting external image editing preferences
      4m 26s
    3. Placing images on the page
      10m 12s
    4. Exploring Photoshop integration
      7m 17s
    5. Modifying Smart Objects
      9m 42s
    6. Modifying image properties
      8m 4s
    7. Styling images with CSS
      6m 45s
    8. Using background graphics
      7m 28s
    9. Positioning background graphics
      10m 10s
  10. 36m 23s
    1. Link basics
      3m 17s
    2. Setting site linking preferences
      2m 19s
    3. Creating links in Dreamweaver
      9m 17s
    4. Using absolute links
      3m 43s
    5. Using named anchors
      6m 41s
    6. Creating an email link
      5m 25s
    7. Creating CSS-based rollovers
      5m 41s
  11. 44m 30s
    1. Reviewing table structure
      5m 20s
    2. Importing tabular data
      6m 46s
    3. Creating accessible tables
      6m 11s
    4. Exploring basic table styling
      9m 42s
    5. Styling alternate rows
      8m 57s
    6. Creating custom table borders
      7m 34s
  12. 59m 15s
    1. Understanding how forms work
      2m 45s
    2. Reviewing form design
      3m 44s
    3. Creating accessible forms
      5m 16s
    4. Setting form properties
      2m 39s
    5. Using the fieldset and legend tags
      2m 52s
    6. Inserting text fields
      6m 56s
    7. Inserting list menu items
      7m 54s
    8. Inserting checkboxes
      4m 14s
    9. Inserting radio button groups
      3m 52s
    10. Inserting submit buttons
      2m 25s
    11. Exploring basic form styling
      8m 2s
    12. Exploring form element styling
      8m 36s
  13. 33m 25s
    1. Adding CSS3 transitions
      8m 29s
    2. Spry overview
      2m 44s
    3. Using Spry widgets
      3m 57s
    4. Adding Spry effects
      8m 1s
    5. Using the Widget Browser
      7m 4s
    6. Extending Dreamweaver
      3m 10s
  14. 1m 2s
    1. Additional resources
      1m 2s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Dreamweaver CS6 Essential Training
9h 24m Beginner May 07, 2012

Viewers: in countries Watching now:

Discover how to build web sites, prototypes, and more in this course on Adobe Dreamweaver CS6. Author James Williamson shows designers how to take control of their site by properly naming and structuring files and folders; how to create new documents and web pages from scratch or with starter pages; and how to add content such as text, images, tables, and links. James also provides a background on the languages that power projects built in Dreamweaver—HTML and CSS—and introduces the programming features in the application, for developers who want to dig right into the code. The last chapter shows how to finesse your project with interactive content such as CSS3 transitions and Spry widgets.

Topics include:
  • Choosing and customizing a workspace
  • Defining a new site
  • Uploading files to your site
  • Creating new documents and web pages
  • Formatting source code
  • Working with CSS
  • Placing images and background graphics
  • Creating links
  • Styling a basic table
  • Creating a web form with buttons, check boxes, and list menus
  • Adding Spry effects
Subject:
Web
Software:
Dreamweaver
Author:
James Williamson

Placing images on the page

Regardless of what you're doing, having multiple options for completing the task at hand is a good thing. When it comes to placing images on the page, you have plenty of options to choose from in Dreamweaver. In this movie, we'll examine different methods for getting images onto your webpages and discuss the pros and cons of each one. To do that, I'm going to use two files this time, so I have the index.htm file open and I have the spotlight.htm file open. You can see, when you've got multiple documents open in Dreamweaver, you get tabs up here and I can just tab back and forth between those two.

And that's from the 07_03 folder. So the first thing I want to do is show off placing images onto the page using the Assets Panel that we covered a little bit earlier in the chapter. So I'm going to scroll down on the index page until I find the article down here about Victor Stuesse winning the Lacie Award. Now you'll notice that I'm in Design View but I'm not in Live View. In order to make changes on the page and place images on the page, Live View needs to be turned off. So I'm going to make sure I'm looking in Design View. I'm going to go over to the Assets Panel, and what I want to do is I want to scroll down through my assets until I find award.

Now you may notice that we have two of these displaying and that may trip you up at first, but the way that our Exercise Files are structured, we have a finished_files folder, and I'll show that to you. I'll go over to the Files Panel. You see we have finished_files which contains the duplicate of the Exercise Files in a finished state and you can see it also has an images directory with all our images in it as well. So what the Assets Panel is showing you is, it's showing you all the images in a defined site, not just a specific folder, so that's why we're seeing two.

But you want to make sure you're using the right one, so what I'm going to do is I'm going to take my Panel Dock here and I'm going to expand it out a little bit and you can see that as I expand it out, I get the full path of the images over here as well. So I want to make sure I'm using the one in the images directory, not finished_files, and for me, that is the top one right here. So I'm going to do award.jpg. Okay. So with that one selected, what I'm going to do is I'm literally just going to drag-and-drop it right on the page right in front of the word Victor. So I can just drag it from the Assets Panel to the page, place it where I want it, and let go.

As soon as I do that, Dreamweaver is going to prompt me for some alternative text and I'm just going to type in Victor Stuesse and then I'm going to click OK, and it places the image right on the page. Now that was fairly simple, but there's another way that you can drag-and-drop images on the page as well. So I'm going to undo that, Ctrl+Z or Command+Z, flip over to the Files Panel, and this time I can go straight to the images directory, find the file I'm looking for; in this case, award.jpg, and I can drag-and- drop that one as well right onto the page.

Once again, it prompts me for some alt text. As soon as I enter that in, there's my image. Both of those methods work exactly the same. The only difference of course is that in the Assets Panel, I get to see a little bit more about the image, I get to see a thumbnail, that sort of thing. In the Files Panel, I just see the list of the images. All right! I'm going to save this file and while dragging-and-dropping is extremely easy, it's so easy just to drag something over, drop it on the page where you want it and boom! Your image appears, but the biggest problem with this is that as your layouts get more complex, it's a lot harder to drag something into a precise location.

Indeed, there are some instances where it's almost impossible. Let me show you what I mean. I'm going to switch over to spotlight. htm, and in the spotlight.htm, our first image which is going to be of the student, Gerald Chow, even though the image is going to show up on the right-hand side, the image itself needs to show up in front of the Student Spotlight div tag. That may seem a little odd, but the way I've done the layout in terms of the floats, it really sort of demands that the image be placed there. I also don't want to place the image inside the div tag because the div tag has a white background which basically needs to bud up against the image.

If the image goes inside that div tag, it's basically going to expand the height of the div tag and the illusion of that container is going to be ruined. So to drag the image to the left- hand side of this element is pretty much impossible because I have a couple of items sitting on top of this div tag and the Design View is not rendering it really all that well. So it's going to be very, very difficult for me to do that through the use of drag-and-drop. But one of the great things about Dreamweaver is there's always an alternate method of doing something if one particular technique doesn't work.

First, let me show you how to precisely position your cursor, where you want to place an object. You can see that I have the student div tag selected. The easiest way to do that, just click inside of it, and then go down to your tag selector and once again, click only the div.student tag. It should highlight the entire div tag and you should see the outline all the way around it. Well, once you have an element selected, you can use your Arrow keys to move your cursor to the immediate right or to the immediate left of an element. So what I'm going to do is I'm going to hit my Left Arrow key.

That's going to move my cursor over before that element. Now what's really odd about this in terms of the way Dreamweaver is displaying this, is the cursor looks like it's just sort of blinking right there in front of the S, but in reality, your cursor is just to the left of the entire div tag. So this is more really of a rendering error than anything else. You just sort of have to trust it. Now of course once you place your cursor in a precise location like that, it's really important not to click on the document itself or hit any of your Arrow keys. You want to make sure that the cursor stays right there. Okay, I'm going to go over to my Assets Panel, I'm going to open this up again, and what we're looking for this time is the chow.jpg file.

Now I'm going to click that once to highlight it and I'm going to use the top one because it's the one from my images directory, not the finished_files. And when I select this, this time instead of dragging-and-dropping it, I'm going to right down to the bottom of the Assets Panel and I'm going to click the Insert button right there. So if you have your cursor in a location where you want your image to show up, you don't need to worry about trying to drag-and-drop it. All you need to do is click the Insert button and it's going to place the image on the page. Now I'm just going to go ahead and do a quick alt tag here, Gerald Chow, and the image shows up. Notice that it comes on the left-hand inside and it is before that div tag.

As a matter of fact, you could switch to Split Screen View, and you could verify that that the image is indeed coming before the div tag. Now if it didn't work out for you, just undo it and try it again and just double-check to make sure that you're selecting the div tag not inside the div tag and that you hit your Left Arrow key. Now we're going to have another opportunity to practice this again because I'm going to show you another way to get an image on the page without using the Files Panel or the Assets Panel. So I'm going to undo that, I'm going to switch back over to Design View, and once again, I'm going to click inside the div tag and then I'm going to click the div tag itself and then I'm going to click my Left Arrow.

Again, that's the easiest way in Design View to place your cursor in a very precise location within the code. Now the next thing, I'm going to do is I'm going to go up to my Insert toolbar which is right up here up top and depending on your workspace, it may be docked above your CSS Styles Panel. You can always go to Window>Insert to open it up if you don't see it. And there's a little category of objects right here in the middle of the Common objects and it deals with images. Now, if I grab that pulldown menu, the first option there is to insert an image on the page. Now the thing that I like about this technique versus using the Assets Panel or the Files Panel itself is that when I do this, I get the option to browse for that image.

Now in addition to browsing for the image which allows you to go to the precise location that you're looking for, there are some other things going on here that I want to point out to you. First, I'm going to scroll down and find the chow.jpg. Notice that as soon as I select this, I get to go down here and see how it's going to resolve the URL. What I mean by that is I get to see the path where it's going to point to this image from the file I'm currently in. I could also change whether it's a Document or a Site Root relative link. Now for the most part, that's not going to be that important to you, but if you're working with certain blogging platforms or certain types of content delivery networks, being able to do a Site Root relative path is actually pretty nice.

And finally, the last thing here that I want to talk about is being able to use Data sources. So what's really nice about this is if you had a database of images and you wanted to pull, let's say I had 15 different students within a database somewhere, I could click on the Data sources, tell it where to go, and have it bring in a dynamic image on my page, which is really cool and that's something that you cannot do using the Files Panel or the Assets Panel. So I'm going to go ahead and click OK. It's going to again prompt me for an alt tag, I'm just going to type in Gerald Chow one more time and I'm going to click OK.

Now if you're still having trouble because I've got to tell you, it's a little tricky sometimes to place your cursor in that exact location, there's even an easier way to do that, and the easiest way to do it is simply just go to the code. If you go into the code and you find where you want to place an image, let's say for example that I go down to say, Line 35, there's a little break in the code here, and this is where the first feature image needs to go, I can click my cursor directly on the line of code or anywhere between tags of where I want this image to go. You can see how difficult it would be.

If I went in Design View, the image needs to go somewhere inside this gray box. But if I click inside this gray box or try to use my Arrows as I click around inside of it, it becomes really, really difficult to do. So the easiest thing to do is simply go into Split Screen View or Code View, place your cursor exactly where you want your image to go, and then you could use one of the techniques that we've used before or you could also go up to Insert>Image, so that's yet another method. Again, this method also gives you the browse functionality, and again, I could scroll down, find the feature1 .jpg that I need to go here.

Again, this is going to prompt me for an alt tag, so I'm just going to type in thataway which is the name of the piece of art and I'm going to click OK, and there's my image. So it places it directly in the code where I want and you can see on screen it's being placed where I need it to as well. So I'm going to go ahead and save this file. Now you may not utilize all of the techniques that we described here in terms of the different types of methods that I've given you for placing images on the page. But it's worth noting the strengths of each one of them so that you can use the technique that best fits your current situation.

Having choices is a good thing, and thankfully, Dreamweaver provides plenty of those when placing images on the page.

There are currently no FAQs about Dreamweaver CS6 Essential Training.

 
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.
Upgrade now


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 Upgrade now

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 Dreamweaver CS6 Essential Training.

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

Notes cannot be added for locked videos.

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.