🚨 Heads up! This course is no longer supported. We recommend checking out our Webflow Essentials course.

Questions

Course info

34 lessons / 3 hours

Overview

Dreamweaver (and web design in general) is such a hard program to teach yourself. We know, because as Dreamweaver trainers we have all taught ourselves. We wish we had a resource like this when we were learning.

Hand coding a website from scratch is now a thing of the past. Web designers use tools like Dreamweaver to a lot of the heavy lifting. We imagine this is your first website build and we're glad we're here to help make this process a little less troublesome. 

Who should use this?

Anyone that is brand new to Dreamweaver and anyone brand new to web design in general. If you're reasonably experienced in web design you might find this course a little slow going.

What do you need?

  • You'll need a laptop (Mac or PC)
  • Dreamweaver CC installed. Dreamweaver can be downloaded from theAdobe website here.

Can I use this tutorial with Adobe Dreamweaver CS4, CS5 or CS6?

No. Unfortunately there were some fundamental changes in the Dreamweaver CC update that makes CC and previous versions very different.

Remember you can download Dreamweaver CC free for 30 days. Don't worry - after your free trial has expired your files will still be updatable using any other web design program.

If you like the tutorials we'd love you to like, share and tweet it. We'd be very grateful.

Daniel Walter Scott

Daniel Walter Scott

Founder of Bring Your Own Laptop & Chief Instructor

I discovered the world of design as an art student when I stumbled upon a lab full of green & blue iMac G3’s. My initial curiosity around using the computer to create ‘art’ developed into a full-blown passion, eventually leading me to become a digital designer and founder of Bring Your Own Laptop.

Sharing and teaching are a huge part of who I am. As a certified Adobe instructor, I've had the honor of winning multiple Adobe teaching awards at their annual MAX conference. I see Bring Your Own Laptop as the supportive community I wished for when I was first starting out and intimidated by design. Through teaching, I hope to bring others along for the ride and empower my students to bring their stories, labors of love, and art into the world.

True to my Kiwi roots, I've lived in many places, and currently, I reside in Ireland with my wife and kids.

Downloads & Exercise files

Transcript

Welcome to this Dreamweaver tutorial. My name is Daniel Walter Scott,  and I'm a trainer here at Bring Your Own Laptop. Uh, this training course is for people new to Dreamweaver  and new to Web Design in general. Okay. The topic for this course is gonna be showing you how  to produce images that will work in your website. So, um, Dreamweaver does not produce images.

It's a, think of it more as a construction tool. You put together all the elements. You might have typed out your content in Word,  you might have made your images in something like Photoshop  or Fireworks, and you put them together in Dreamweaver. Okay? So what we're gonna do is look at Photoshop. Now, Photoshop is a really common tool  to visualize websites.

So I'll show you something I've been working on yesterday. This is a new photography course that, um, we're looking  to put together or, um, amen. Our existing one, and I'm just designing a new webpage. Okay? Now this looks like a website, but it's really not. It's just a Photoshop file with lots of, uh, layers.

So it looks like a website though. What I can do in this is I can be very creative in  Photoshop, whereas Dreamweaver is really a production tool. Think of it like, um, Photoshop being the architect  and Dreamweaver being the, uh, builder. Okay? The builder doesn't side halfway through the building  that he, he's gonna add another floor. It wouldn't work that way, but in Photoshop you can decide  to move things around and adjust them quite easily.

Okay? So what we're gonna do in this one is, um,  I'm gonna show you once you have decided on your layout  or you've decided what kind of visuals you're gonna use,  I'm gonna show you the little practice one we'll use here. We've got a logo, we've got a button and an image. This text here will be produced in Dreamweaver,  so I don't need to save that as an image,  but these other ones here, I need as little graphics  to go into my website. Okay? So we've got a logo, we've got a little button,  and we've got a bit of an image going on here.

Now, to save them out, we're gonna use  something called the Slice tool. Then we've got to decide what format they should go. Should they be gifts, should they be p  and g, should they be jp? Alright, so let's start with the Slice tool. Now, over here is my Slice tool. Okay?

My Slice tool is actually hiding underneath the crop tool. So hold the crop tool down, crop, crop, crop, hold it down  and grab the slice tool. Okay? And what the slice tool will allow me  to do is draw boxes around these little graphics. So I've drawing a box around there. It's pretty good at snapping to the edges.

So I'm drawing one around this one, this one as well. All right. So I've drawn little boxes around. You can see it's got these little blue, um, dots, uh,  blue boxes for the ones I've drawn and Photoshops gone along  and created all these other  squares just to fill in the holes. Okay? So what I'd like to do now that I've drawn the boxes  around these is go to file, save for web.

Okay? And what this will do is it'll separate out those  little images and their own separate files. So if I go to files, I don't wanna use save,  save will save out just a full, um, a full image. I wanna use a Safer web  'cause it uses special, um, jpeg formats  that are more useful on the web rather than  your standard print jpeg. We've gotta file Safer Web, okay? And what we're doing in here is I can decide on which  of these images okay, are best for which format.

So we talked about before, um, a gif A and a p and G. Okay? So we're gonna look at this button first. Okay? This button is nice and simple. Um, it has text in it, so maybe a GIF might be useful.

It doesn't have many colors in there. There's a little gradient in the background, but not a lot. Okay? And you can, you can see over the side here that, um,  this little window here shows me my 256 colors. And you can see this greens  and whites only actually occupies  about a hundred of these squares. So there's lots of color to get by.

Whereas if I click on the image over here,  you can see the color is mixed out. Like there's no more space for it. So it's actually starting to clip some of the colors off. So for this button at the top here, it's perfect. Okay, so I decided on a gif. I don't have to worry about any of these things underneath,  like diffusion and selective anymore, okay?

That used to be it's a little bit old school, leave it all  as the defaults and you'll be fine. Okay? So GIF is perfect for this one. When I get down to this guy down the bottom,  I know a GIF's not gonna work  because there's just not enough colors  and it's, it'll be hard to see on the, um, video  unless you're watching it in HD is you'll notice that, um,  through some of these parts is that the colors, um,  there's not enough colors, so it ends up, um, blocking a lot  of colors together and it looks, uh, a little, uh,  it doesn't look good in terms of quality. So I'm gonna zoom back out. Um, you'll see the file size of this  as well is 60 kilobytes very big, okay?

Images should be a very big image. A huge image is about a hundred kilobytes. A small images are 10 or below, okay? So you want to aim around the, you want between the 10  and kind of 20 or 30 for, for a reasonable size image  for this like, uh, for this type of size of image. So don't go. Um, yeah, if you've got anything  above a hundred kilobytes, that's far too big, okay?

But um, you are aiming around the 20 kilobyte mark. Alright? So G's not gonna work if I go to jpeg. Okay? Last thing about the JPEG is you can see, um,  even without playing with any of the settings, it's down  to 29 kilobytes. And what we've got to play around  with in jpeg is this lossy format,  which pretty much just means I've got a quality slider,  I can go up to a hundred and I can get down to zero.

And you'll notice on my, um, um,  image here if you're looking at it on hd, is  that when the quality's down at zero versus a hundred, okay,  a hundred looks perfect, zero looks terrible. Now where the slider should be is totally up to you. Now my range is between, I go no higher than a 80  and no lower than 40. Okay? I find that quality range is kind  of the scope of where you need to be. Now, good quality images can go quite low in terms  of quality and still look really good.

If you've got a really, um, bad image,  it will look really bad really quickly as soon  as you start lowering the quality. So it really depends on your image. It also depends on what this image, um, is used for. If I'm a photographer selling my photography,  I'm gonna keep the quality quite high  because I don't want any chance of any sort  of bad quality images going through. But in this case, this is a, um, uh, an image  that just supplements a website. It's just a pretty graphic.

It doesn't have a whole lot of,  um, it's not an, an essential part of the website. So I know I can get the quality quite low  and not worry too much about affecting  the result of my website. So what I'm gonna do is if I look at it down at  zero, it's terrible. And what I'm gonna do is the limbo game. It's how low can you go? Now, in this case, if I try my lowest, which is about 40,  it's looking okay, but if I zoom in, I can start  to see there's a bit of, they call interpolation  around these bits.

It's starting to get a bit grainy, okay? So, um, what I want it to be is probably about,  in this case, I'm just dragging it up for me,  60 feels like a good quality image still, okay? And the file size is nice and small, 22, okay? If I crank it up to 80, it jumps  and almost doubles the size of the image. So I'd like to keep it around 60, okay? But this will depend on the image  and, um, you know, what you want from that image.

So we're gonna do it at 60. So we've got this one, this button is a gif, this is a jp  and we've got this one at the top here. And I'll essentially, it should, because it's just type  and text and logos, it should be a gif. But what I want for this one is I wanna  do something slightly different. I want to have a transparent  background behind it at the moment. It's gonna wipe background.

So I'm gonna click done  and Photoshop and in my layers turn off my background image. And you can see this little checkerboard stuff appears. That means that it's transparent background. If I go back into file Safer web, what I'd like to do  is this image here, okay? Um, if I have a, a gif, GIF has, um, a little bit  of transparency, it's pretty poor. I zoom right in, I'll show you what I mean.

Okay? Can you see around the edges here? There's no actual see-through parts  because a GIF can only turn a pixel completely off. So it's see-through, okay? Or it's completely opaque, which is decided. Some of this gray stuff, and I'll show you between the GIF  and the lovely p and g.

So we don't use PNG eight PNG eight's,  but um, uh, an old version of it, let's use PNG 24. Or if using a different program you can use PNG 32,  whatever comes up as a setting, okay? If I go to 32, let's watch the difference here. Can you see all the transparency starts appearing in  between the buttons, uh, parts of the icon, okay, so P  and G 24 with transparency on will allow  a transparent background. JPEGs, let's watch jpeg. Sorry, that's a gif.

Let's go JPEG that has a full white background. It won't let you do anything other than white background. GIF has poor transparency and a lovely p  and g 24 has full transparency. The trouble with it is can be very big file size. In this case, it's tiny. It's only three kilobytes, so I'm happy with that.

So zoom map. So I've got a p  and g, I've got a gif and I've got a jp. Let's hit save. Okay? And it's gonna ask me to name my files. So I'm gonna call mine H for home,  which is the brand of this one.

I'm gonna stick them on my desktop, okay? And I've got the options in here. Image is only perfect where it says all slices. Remember earlier on, uh,  we dragged out three separate slices. But what happens is Photoshop goes  and fills in all the gaps with other slices. I just want my user slices, okay?

They're only gonna gimme the three that I did,  otherwise they're gonna have a pile of, um, different  slices that I don't need. So I hit save and I'll jump to my desktop. Okay? And you'll see I've got an images folder  that's put there, and I've got the three files, so p  and g gif and a jpeg and you can rename them if you like. I'll just show you here. Here's my p  and g with a lovely transparent background.

There's the gif and there's my jpeg. Now what I'd do is I'd copy them  and put them in my site file. So earlier in the tutorials, we looked at,  um, creating a site. So we went to desktop  and we created a site called Example tutorial,  and there was an images folder. So I'm gonna paste them in there,  then I can use them for my website. All right?

So that's how to use Photoshop  and it's slice function  to slice out different images in their different formats. All right, let's move on to the next tutorial. I.
Written Guide

How do I export images from Photoshop for a Dreamweaver website?

Use Photoshop’s Slice Tool to mark out each graphic, then open Save for Web and choose a suitable format for each slice: GIF for simple graphics, JPEG for photographic detail, or PNG for smooth transparency. Save with Images Only and All User Slices selected, then copy the files into your website’s images folder.

Photoshop for Web Design: Preparing Images for Dreamweaver


Key takeaways

  • Understand where Photoshop’s design work ends and Dreamweaver’s website construction begins.

  • Use slices to export individual graphics from a page layout.

  • Choose GIF, JPEG or PNG to suit each image rather than using one format for everything.

  • Balance JPEG quality against file size using the export preview.

  • Export only the slices you need and organise them inside your site folder.


Photoshop is the architect, Dreamweaver is the builder

Dreamweaver is a construction tool. You bring together your content, images and other elements to build the website. It is not where you create the graphics themselves.

You might write your content in Word and prepare your images in Photoshop or Fireworks, then assemble those pieces in Dreamweaver.

Think of Photoshop as the architect and Dreamweaver as the builder. Photoshop gives you room to experiment with the design, move things around and decide how the page should look. Dreamweaver is where you turn those decisions into a working page.

A detailed Photoshop layout can look very convincing. A photography course page, for example, can have navigation, course information, photographs and buttons, all arranged like a finished website. But it is still a Photoshop file made up of layers, not a functioning web page.

Once you are happy with the layout, the next job is to extract the graphics you need for the build.


1. Decide which parts need to become images

Our practice layout has three graphics to prepare:

  • A logo at the top of the page.

  • A small green button containing text.

  • A wide decorative banner combining photographic detail and blue shapes.

The body text is different. That will be produced as text in Dreamweaver, so there is no need to save it as an image.

Do not export the whole page as one big picture. The aim here is to take the individual visual assets out of the design so that you can use them separately in your website.


2. Draw slices around your graphics

Photoshop’s Slice Tool lets you draw a box around each graphic you want to export.

  1. Find the Crop Tool in the toolbar.

  2. Click and hold it to reveal the tools underneath.

  3. Select the Slice Tool.

  4. Draw a rectangle around the logo.

  5. Repeat for the button and banner.

Photoshop toolbar displaying the expanded Crop Tool flyout menu with the cursor highlighting the Slice Tool next to a webpage header logo and sky graphic.

The Slice Tool is tucked underneath the Crop Tool in the toolbar.

The tool is quite good at snapping to edges, which helps when you are drawing the boxes around your graphics.

You will notice that Photoshop also creates extra slices to fill the gaps between the ones you draw. That is normal. Your own slices are called user slices; the others simply divide up the remaining space.

This distinction matters when you save. You want the three graphics you deliberately selected, not a folder full of little pieces of background.


3. Open Save for Web

With the slices drawn, choose File > Save for Web in the Photoshop interface used for this workflow.

Use this export dialogue rather than relying on a normal Save operation. It lets you choose web image settings, inspect the result and export the slices as separate files.

The useful bit is that each slice can have its own format. You can select the button and make it a GIF, select the banner and make it a JPEG, then select the logo and make it a PNG.

You do not have to force all three graphics into the same format just because they came from the same Photoshop document.


4. Use GIF for the simple button

Start by selecting the green button slice in Save for Web and choosing GIF.

This button is a good candidate because it is simple. It has text, a green background, white details and a small gradient, but it does not contain an enormous range of colours.

GIF uses a palette of up to 256 colours. In the colour table, the button uses only around a hundred of the available entries, so there is enough room to represent it comfortably.

For this example, leave the other GIF settings, such as the palette method and diffusion options, at their defaults. There is no need to adjust every setting to get a useful result.


Why the banner does not work well as a GIF

Selecting the banner tells a different story. Its colour table fills up because the photographic content needs far more subtle colour variations.

When GIF cannot represent those variations, different shades get grouped together. Smooth areas begin to look patchy or blocky, and the quality suffers.

It is not a particularly efficient file either. In this example, the banner comes out at roughly 60 KB as a GIF. We can get both a better-looking result and a smaller file by changing the format.


5. Use JPEG for the detailed banner

Choose JPEG for the banner slice. Before making further adjustments, the example drops to about 29 KB.

JPEG is a lossy format. That means it reduces file size by discarding some image information. The quality control lets you decide how much of that trade-off you are prepared to accept.

At a quality setting of 100, the preview looks very good. At zero, the damage is obvious. The useful setting is somewhere between those extremes.

Play the quality limbo game

I tend to start within a quality range of 40 to 80. That is a practical working range for this exercise, not a rule that every image must follow.

Think of it as a little limbo game: how low can you go before the result stops looking good?

  1. Try a quality setting of about 40.

  2. Inspect the image, zooming in to check detailed edges and subtle areas.

  3. Look for graininess, blockiness or other compression artefacts.

  4. Raise the quality until the image looks acceptable.

  5. Check how much the file size has increased.

On this banner, 40 looks reasonably good at first, but a closer inspection reveals some deterioration around the details. A setting of 60 gives a good-looking result at about 22 KB.

Increasing the quality to 80 almost doubles the file size in this example. For a decorative graphic, that extra weight does not feel worthwhile, so 60 is the choice here.


Let the image’s purpose guide the decision

The source image matters. A good-quality original may tolerate a lower JPEG setting quite well. An image that already looks poor can deteriorate quickly as you reduce the quality.

Its job on the website matters too. If you are a photographer selling your photography, the images are central to what you offer. You would keep the quality higher rather than risk visible damage.

This banner is simply there to support the page visually. It still needs to look good, but it does not need the same treatment as a photograph being presented as the product.


Keep file-size targets in context

For the small assets in this exercise, useful targets are around 10 KB or less for a small graphic, and roughly 10 to 30 KB for a moderately sized image like this banner. About 20 KB is a handy target to work towards here.

A file approaching or exceeding 100 KB would be a reason to revisit the settings for these particular assets. Treat those figures as targets for this small practice layout, rather than a universal limit for every website image.

The important habit is to check both the preview and the file size. A tiny file is no use if the image looks terrible, and a larger file is not automatically worth keeping if you cannot see the improvement.


6. Use PNG for the transparent logo

The logo is mostly text and a simple symbol, so GIF might initially seem like the obvious choice. But there is another requirement: a transparent background.

First, click Done to return to Photoshop. In the Layers panel, turn off the background layer. The checkerboard pattern that appears indicates transparency.

Now reopen File > Save for Web and select the logo slice.


GIF transparency versus PNG transparency

GIF can make a pixel either completely transparent or completely opaque. It cannot preserve a partially transparent pixel in between.

That limitation becomes noticeable around softened edges and small gaps in a logo. Those areas may appear rough or retain unwanted opaque pixels instead of blending smoothly.

For this logo, choose PNG-24 with Transparency enabled. This preserves the partially transparent edges and spaces that GIF cannot handle as smoothly. Another application may label an equivalent full-colour option with transparency as PNG-32.

JPEG does not support transparency. In this example, switching the logo to JPEG replaces the transparent area with a solid white background.

  • GIF: supports fully transparent or fully opaque pixels.

  • JPEG: does not preserve a transparent background.

  • PNG-24 with Transparency: preserves smooth, partial transparency around the logo.

PNG can produce large files, so check the size rather than assuming it will always be small. This particular logo is only about 3 KB, which makes it a very comfortable choice.


7. Save only the user slices

At this point, the three slices have their own settings: a GIF button, a JPEG banner and a transparent PNG logo.

Click Save, choose a destination and enter a base filename. In the example, the name reflects the H for Home brand and the files are saved to the desktop.

Before confirming, check these two options:

  • Images Only: export the image files needed for the site.

  • All User Slices: export only the slices you drew yourself.

Photoshop Save for Web interface overlaid by the Save Optimized As dialog box, showing Format set to Images Only, Settings to Default Settings, and Slices set to All User Slices.

Choose Images Only and All User Slices to avoid exporting unwanted pieces of the layout.

If you leave the slice selection on All Slices, Photoshop will also export the extra slices it created to fill the gaps. That gives you a pile of files you do not need.

With the user-slice option selected, the export creates an images folder containing just the three intended graphics.


8. Move the exported files into your Dreamweaver site

Open the exported images folder and check the results. You should have a PNG logo, a GIF button and a JPEG banner. You can rename the files if needed.

Then copy them into the images folder inside your website’s local site folder. In the practice setup, that is the images folder within the Example Tutorial site.

They are now in place to use when assembling the page in Dreamweaver.

The workflow is straightforward: decide on the design, slice out the required graphics, optimise each one in a suitable format, and move the exported files into the site. Choose the format for the job each image needs to do. That is what gives you clean graphics without unnecessarily large files.


Key terms

Slice

A rectangular area of a Photoshop document that can be exported as a separate image. User slices are the areas you draw yourself.

Save for Web

Photoshop’s export dialogue for choosing image formats, previewing quality and checking file sizes before saving web graphics.

Colour palette

The set of colours available to represent an image. GIF supports up to 256 colours, which suits the simple button but limits the detailed banner.

Lossy compression

A way of reducing file size by discarding image information. JPEG’s quality control adjusts the balance between a smaller file and visible image detail.

Transparency

Areas of an image that allow the background behind it to show through. PNG-24 with transparency can preserve partially transparent edges, whereas GIF transparency is either fully on or fully off.


FAQs

Should I save my entire Photoshop layout as one image?

No. Export the individual graphics you need, such as the logo, button and banner. The body text in this exercise is created as text in Dreamweaver rather than saved as an image.

What JPEG quality setting should I use?

Start by testing settings between 40 and 80, then inspect the preview and file size. The example banner works well at 60, but the right choice depends on the original image and how important its quality is to the page.

Why does my exported logo have a white background?

Check that the background layer is hidden before exporting, then choose PNG-24 with Transparency enabled. JPEG cannot preserve transparency and produces a solid white background in this example.

Why has Photoshop exported lots of extra image files?

You may have selected All Slices, which includes the extra slices Photoshop creates between your graphics. Choose All User Slices to export only the areas you drew.

Daniel Walter Scott

Written by Daniel Walter Scott — Founder of Bring Your Own Laptop & Chief Instructor

  • Powered by Marvin
  • Terms of use
  • Privacy policy
  • Cookie policy
  • © Bring your Own Laptop Ltd 2026