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

Dreamweaver CS6 Essential Training
Illustration by

Modifying image properties


From:

Dreamweaver CS6 Essential Training

with James Williamson

Video: Modifying image properties

One of the constant challenges in working with sites built around clean HTML and CSS is precisely what to control with CSS and what to control through your HTML. Working with images is a particularly gray area since there are many properties that you can control either through CSS or directly through the image properties themselves. In this movie, we're going to discuss the image properties you can change using Dreamweaver's Properties Inspector and the benefits of controlling these properties through the image tag or through CSS.
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

Modifying image properties

One of the constant challenges in working with sites built around clean HTML and CSS is precisely what to control with CSS and what to control through your HTML. Working with images is a particularly gray area since there are many properties that you can control either through CSS or directly through the image properties themselves. In this movie, we're going to discuss the image properties you can change using Dreamweaver's Properties Inspector and the benefits of controlling these properties through the image tag or through CSS.

So I have the index.htm file open from the 07_06 directory and I'm going to scroll down and find the image we placed on the page earlier, which is the image of Professor Stuesse here and I'm going to select that. And when I click on this, the Properties Inspector changes to reflect the properties of the image itself. Now again, for those of you that may be have been using some of the previous versions of Dreamweaver, you're going to notice that some of the image properties themselves have been removed. The reason for that is that in HTML5, a lot of the presentational attributes of the image tag have been removed in favor of doing those through CSS.

So in a lot of cases, that is a moot argument now. You're going to be changing certain things like alignment and things like that through CSS and not through image properties. But we still have a very fair amount of properties left that we can choose from. Now I'm just going to start in the upper left-hand corner and I'm just going to work my way around. On the left-hand side, the first option I have is giving this image an ID. So if I'm targeting it through JavaScript for example or if there's a really compelling reason to give it an ID attribute, I can do that simply by clicking in here and typing.

The next thing I have to the right of that is the source for this file. If I ever want to change this image, one of the easiest ways to do that is I could open up my images directory, I could come right back over here and I could just point to a new image, let go, and it's going to bring that image in instead. Now I want to undo that because, well, that is the picture of Professor Stuesse, so I don't really need any of those. But it's nice to know that if something changes or somebody decides maybe you've got like five images that you want to try in a spot and see how they look, instead of having to delete them and insert four more, you can just grab the Point to File icon and go right over here and point to whichever one you want to see.

Now below that we have a link. So if I want to make this image a clickable link, I can point to the file that I want to link to or I can type that in. We're going to talk about creating links a little bit later on in the title. We also have some alt text. So if you forget for whatever reason, or just decline to enter alt text when you first place the image on the page, you can certainly come back at any time and type that information in. Now before we move on to these options over here on the right-hand side, I want to move down for a moment and talk about these options. We have the option of making this an image map. Now image maps aren't used that widely online anymore, but back in the day, image maps were actually quite common.

They allow you to make certain areas of the image a clickable hotspot so that an image can have multiple links on it. Again, that's usually done a different way now, but that capability certainly still exists within HTML, and Dreamweaver allows to do that by just drawing them right on the image. It's pretty cool. I also have the ability to set a target for this image. So if this image is a link, I can set the browser to target a blank new window if I'd like. I also have the option of pointing to the original of this file. We did that in the last movie where we pointed to a Photoshop file, so I do have the option of going in and establishing that smart object workflow if I want to.

Okay, but not everything needs to be a smart object, and indeed, a lot of the options that we have available to us with smart objects are still available to us with images that aren't smart objects. For example, this little row of icons right here would allow me to edit this particular file in Photoshop. So I could click on that, it's going to launch Photoshop and open up the image. Here I can start making changes to it, so for example, I could come into my adjustment layers and I could go ahead and apply an adjustment curve to that. So there are a lot of things that I could do here to make changes to this image and then save it out and overwrite the original.

I'm going to go ahead and close this without making any changes, jump back into Dreamweaver. I also have the ability to re-optimize this image, so if it was saved with the image optimization that was a little too high or even if it was too low, I can come back in here and click on this again. Now the danger in this is that if you don't have a source file defined for it, you're re-optimizing the JPEG, and it doesn't really matter if I up to the Quality here, you can't increase the quality of a JPEG image past its original quality. So really, you don't gain any benefit from this unless you're just decreasing the quality a little bit to save a little bit of size.

We also have options like cropping the image, Brightness and Contrast, and sharpening it, and I want to show these off really quickly. A lot of times, you can definitely go back into Photoshop or Fireworks, make your edit and then come back into Dreamweaver. But sometimes, for really small things, it's easy enough just to do it here. So for example, if I click Sharpen, it's going to bring up a dialog box that tells me hey! What you're about to do is going to permanently change this image. You're going to permanently change the image file over in the images directory. Are you sure you want to do that? If I click OK, it brings up the Sharpen dialog box, and I can either type numbers in or I can grab the slider.

Now this gives you a value of 0 which is no sharpening, all the way to 10 which is maybe a little too much sharpening. So it's not really that precise. You just have a range of sharpening values that you can do. If I push this up to 1 and turn the Preview on and off again, I can see that it's doing a rather decent job of sharpening that image. So I actually kind of like that, I'm just going to go ahead and click OK. Now what it's going to do is it's going to go back out to my image, and again, it's going to re-optimize it. And after a while, if you do this enough, you can actually begin to see right here around him for example, that you're going to start seeing a loss of image quality.

So you want to be really careful about making too many edits to a JPEG. It's always better to go back to the original source file if you have it. The other thing that we can do is we can change things like Width and Height; you can enter in these values or you can drag the handles out. Honestly, I kind of wish those handles would go away because a lot of people do this and say, oh! That looks great! It doesn't look great. But again, we're given the option here to basically reset it to the size or commit. Now if you say Commit, it's going to bring again this dialog box up and it's going to say, are you absolutely sure you want to do this? And it's going to permanently alter the selected image. Are you sure? And again, if you click OK, it permanently changes it, although you can undo to a certain point.

Once you save the file out and close it though, it's done. So keep that in mind. And remember, of course down here, if we resize this, you do always have the option of declining the resizing as well. My advice, if you want to resize the image, find your source file, open it up in the program you created it in, either Fireworks or Photoshop, and re-export it out at a different size. Don't use the handles here in Dreamweaver; they typically aren't going to give you the best results. Now the last thing we're going to do to our image is apply a class to it. So when you have the image selected, if you want to apply a class attribute to the image tag, you can do that very quickly by just using the dropdown menu here.

Now this is going to pull all of the classes that are currently in our external CSS file, so if you don't have any, you're going to basically be able to come down here and say, hey! I want to apply multiple classes which will allow you to type-in. You can even type it in single class this way, renaming the existing classes, attach a style sheet to the page if you want to. There are a lot of options here. What I'm going to do is scroll up and just choose this articleImg class. Now that's not going to do anything for us at the moment because we're going to style our image in our next movie. But what you'll notice is if I look down here at the image tag, it did apply the class articleImg to that.

So if the selector were already written, we would see the styling take place. So I'm going to go ahead and save my file and commit to any of the changes in the image property that I've made. Now as you can see, there are a few properties that you can change once an image has been placed on the page. However, you do want to be careful when resizing or editing the image from the Properties Inspector as we were doing in this exercise. Keep in mind, image quality may degrade, so you want to test thoroughly before committing to any of those changes, because once you commit to them, they're done. Also, you're going to want to control most of the presentational properties of images with CSS, which is exactly what we're going to cover in our next movie.

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.