<html><!-- #BeginTemplate "/Templates/2002.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>Dreamweaver for WIT 2002</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#003300" onLoad="MM_preloadImages('../../../img/2002logo-alt-over.gif')" leftmargin="0" topmargin="20" link="#0033CC" vlink="#009933" alink="#66CC66" background="../../../img/background2002.jpg">
<font face="Arial, Helvetica, sans-serif"> </font> <font face="Arial, Helvetica, sans-serif"> 
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td rowspan="3" width="163" valign="top" align="left"> 
      <p><a href="../../index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Logo','','../../../img/2002logo-alt-over.gif',1)"><img name="Logo" border="0" src="../../../img/2002logo-alt.gif" width="150" height="150"></a></p>
      <table width="100%" border="0" cellspacing="10" cellpadding="0">
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002home.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value="."><param name="BGCOLOR" value="#006600">
              
              <embed src="/Templates/2002home.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002about.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002about.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002homerooms.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002homerooms.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002curriculum.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002curriculum.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002software.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002software.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002mentor.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002mentor.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002projects.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002projects.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002feedback.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002feedback.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002search.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002search.swf" base=""  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
      </table>
      <div align="center"></div>
          </td>
    <td valign="top" align="left" colspan="2" height="47"> 
      <h1><!-- #BeginEditable "title" --> Images in Dreamweaver<!-- #EndEditable --></h1>
    </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> <!-- #BeginEditable "body" --> 
      <h6>&nbsp;</h6>
      <a name="top"></a> 
      <table border="3" align="center" cellpadding="4" bordercolor="#009999" bgcolor="#99CC99">
        <tr> 
          <td><div align="center"> 
              <h5><a href="overview.htm">Overview</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="howtogethelp.htm">How to get help</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="sitesetup.htm">Site setup and maintenance</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="textetc.htm">Text, layout, styles, links</a></h5>
            </div></td>
        </tr>
        <tr> 
          <td><div align="center"> 
              <h5><a href="images.htm">Images</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="templates.htm">Templates</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="libraries.htm">Libraries</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="navbars.htm">Navigation bars</a>/<a href="altnavbar.htm"><br>
                Alternative version</a> </h5>
            </div></td>
        </tr>
        <tr> 
          <td><div align="center"> 
              <h5><a href="frames.htm">Frames</a> </h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="behaviors.htm">Layers and behaviors</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="extending.htm">Extending Dreamweaver</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="index.htm">Module Home</a></h5>
            </div></td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
      <ul>
        <li><a href="#goal">Goal for today</a></li>
        <li><a href="#copyright">Copyright information</a></li>
        <li><a href="#review">Review from last time</a></li>
        <li><a href="#info">Information about your image</a></li>
        <li><a href="#links">Using images as links</a></li>
        <li><a href="#maps">Image maps</a></li>
        <li><a href="#tables">Using tables to arrange pictures</a></li>
        <li><a href="#imageediting">Using image editing software with Dreamweaver</a> 
          <h3><a name="goal"></a>Goal for today</h3>
          <p>Learn about some techniques for controlling how images are displayed. 
            Learn how to use image editing software with Dreamweaver. </p>
          <p>&nbsp;</p>
          <h3><a name="copyright"></a>Copyright information</h3>
          <blockquote> 
            <p>When you use pre-existing materials that have been created by someone 
              else you need to consider whether such use is legal and ethical. 
              The primary legal issue is whether a use of a given resource is 
              allowed within United States copyright law. The law gives educators 
              certain privileges not extended to the general public; these privileges 
              are known as the &quot;Fair Use Doctrine&quot; and provide certain 
              exemptions to copyright restrictions. However, since the copyright 
              law was last given a major revision in 1976, long before the development 
              of the World Wide Web, there are some gray areas in which the law's 
              application to new media is not entirely clear. <br>
            </p>
            <p>It is important to consider the moral or ethical issues raised 
              in such use. Since teachers are, by their nature, serving as examples 
              to their students, they should be careful to serve as good examples 
              that students would do well to emulate. An important principle to 
              follow is: &quot;always give credit where credit is due.&quot; Even 
              if a web site gives explicit permission for you to use something 
              you find on that site, or even if the resources are explicitly in 
              the public domain, it is always good practice to give notice of 
              where you found it and to give thanks to those who made it available 
              to you. </p>
            <p>This information was taken from chapter 4 of <i>Curriculum Webs</i> 
              by Craig A. Cunningham and Marty Billingsley. Please refer to your 
              copy of <i>Curriculum Webs</i> for more information about copyright 
              laws.</p>
          </blockquote>
          <p>&nbsp;</p>
          <p><a href="#top">Back to the top.</a></p>
          <h3><a name="review"></a>Review from last time</h3>
          <p>How to copy an image from the 'net:</p>
          <ul>
            <li>Right click on the image (or, on a Mac, control-click or hold 
              down mouse button)</li>
            <li>Pop-up menu includes &quot;Save this image as....&quot;</li>
            <li>&quot;Save as..&quot;. dialog box opens; browse to the correct 
              folder (if you're going to use the image in a Dreamweaver web page, 
              put the image in the Local Root Folder of your site or in a subdirectory 
              of the Local Root Folder (such as &quot;img&quot; or &quot;images&quot;)</li>
            <li>make sure image has appropriate extension (.jpg or .gif). Usually 
              you can just let the computer determine the right extension.</li>
            <li>REMEMBER where you put it.</li>
            <li>TRY THESE INSTRUCTIONS ON THIS IMAGE:</li>
          </ul>
          <p><a name="here"></a><img src="img/cac.JPG" name="cac" alt="Craig at CUIP meeting" usemap="#cacMap" border="0"> 
          </p>
          <p>(NOTE: this page has two &quot;hot spots.&quot; Can you find them?) 
            <map name="cacMap">
              <area shape="rect" coords="132,61,185,91" href="#here" alt="Glasses glare" title="Glasses glare" onMouseOver="MM_displayStatusMsg('Isn\'t the glare on Craig\'s glasses really ugly???');return document.MM_returnValue">
              <area shape="rect" coords="116,205,185,250" href="#here" alt="Craig's camera bag" title="Craig's camera bag" onMouseOver="MM_controlSound('play','document.CS1025039393660','DING.WAV')">
            </map>
          </p>
          <p>To insert image into web page:</p>
          <ul>
            <li>Use Insert|Image or click the Image icon in the Insert Bar.</li>
            <li>Browse to the image (do you remember where you put it), click 
              OK</li>
            <li>image is inserted at cursor</li>
            <li>To alter displayed size, change &quot;W&quot; and/or &quot;H&quot; 
              in property inspector. NOTE: if you change both, you might alter 
              the proportions. To avoid this, delete one measurement and change 
              only the other. Changed sizes are displayed in <b>BOLD</b>, like 
              here:</li>
          </ul>
          <p><img src="img/dw4wit23.jpg" width="522" height="97"></p>
          <ul>
            <li>You can also resize the display of an image by clicking on the 
              image and dragging one of the handles that appears. If you don't 
              want to distort the proportions of the image, hold down the SHIFT 
              key while you drag a corner handle. This keeps the original proportions.</li>
            <li>NOTE: When you alter the display size of an image, you don't actually 
              change the size of the image; only its display. To change the actual 
              size of the image, you'll have to &quot;edit&quot; it in an image 
              or photo editor such as Photoshop, Paint Shop Pro, or Paint.</li>
            <li>Enter text into &quot;Alt&quot; for those with images turned off 
              while browsing.</li>
          </ul>
          <p><a href="#top">Back to the top.</a></p>
          <h2><a name="info">Information about your image</a></h2>
          <p>Once you've placed an image into your page, there are a couple of 
            ways that you can get information about the image's size and how it 
            affects the loading time of the page.</p>
          <p>Open a new file and save it as &quot;imagetest.htm.&quot; Right now 
            the page should be empty.</p>
          <p>Look at the status bar of the page editing window. (This is the bar 
            at the bottom of the window.) It should look something like this:</p>
          <p align="center"><img src="img/dw4wit28.jpg" width="446" height="32"></p>
          <p align="left">The leftmost information represents the HTML tags that 
            apply to the current context.</p>
          <p align="left">The next piece of information is the size of the editing 
            window. This is useful if you are designing your page for a certain 
            size or resolution of monitor. (The example here is 689 pixels by 
            331 pixels, which will fit onto an 800 x 600 monitor resolution but 
            not 640 x 480.) You can click the down-arrow here and choose from 
            a number of preset sizes to see how your page is likely to format 
            at each of these resolutions.</p>
          <p align="left">The next information is what we're interested in now. 
            You will see two numbers: the first represents the TOTAL size of the 
            page including all images. 1K means less than 1024 bytes of information. 
            (This is the smallest possible size for a web page.) The next number 
            represents how long it would take the page to download over a modem. 
            The speed can be set in preferences. (Click Edit|Preferences|Status 
            Bar.) This is important because you don't want your users to have 
            to wait too long for a given page. </p>
          <p align="left">Now, insert this image into your web page:</p>
          <p align="left"><img src="img/at_work_.gif" width="40" height="40"> 
            This image is much less than 1K in size. When you add it into your 
            web page, it adds an insignificant amount of size and time to the 
            page loading.</p>
          <p align="left">However, if you add in this image:</p>
          <p align="left"><img src="img/cacro-smaller.jpg" width="250" height="188"></p>
          <p align="left">the size of the page increases to 34K, and takes about 
            10 seconds to download over a 28.8 Kbit/sec modem connection. </p>
          <p align="left">As you build your web pages, think about the overall 
            size of your page and try to keep the page under about 30 seconds 
            or, for a long page with lots of images, no more than 120 seconds. 
            (The current page should take about 86 seconds at 28.8 Kb/sec or about 
            20 seconds through a T-1 line as on the U of C campus.)</p>
          <p align="left"><a href="#top">Back to the top.</a></p>
          <p align="left">You can also get information about the size of your 
            image by clicking on it and looking at the Property inspector:</p>
          <p align="left"><img src="img/dw4wit29.jpg" width="525" height="100"></p>
          <p align="left">Notice that the size of the image file is given in the 
            upper left corner of the property inspector. You also see the original 
            size of the image in pixels (W is across, H is top to bottom), unless 
            the image display size has been changed, in which case one or the 
            other of these numbers will be in bold.</p>
          <p align="left">Here it is worth mentioning that you can put a &quot;Low 
            resolution source&quot; file into the Low Src field. This would be 
            the version that would load if someone is using a very low resolution 
            monitor with certain kinds of browsers. You can also add some space 
            around the image (v space and h space) add a border (enter a number 
            greater than 0), align the image, and also access an image editor 
            to change the image (see <a href="#imageediting">below</a>). </p>
          <p align="left"><a href="#top">Back to the top.</a> </p>
          <h2><a name="links"></a>Using images as links</h2>
          <p>Images can be linked to other images or pages.</p>
          <p>Simply click on an image after you have placed it in your page.</p>
          <p>On the property inspector, use the folder icon <img src="img/dw11.jpg" width="33" height="29"> 
            to select a file to link the image to, or type a URL into the link 
            field. If you want the link to open into a new window, choose &quot;_blank&quot; 
            in the Target field.</p>
          <p>A lot of web designers use small images, or icons, to indicate links 
            to different areas of your web site. You can find lots of icons to 
            use for this purpose at <a href="http://www.iconbazaar.com" target="_blank">http://www.iconbazaar.com</a>. 
          </p>
          <p><a href="#top">Back to the top.</a> </p>
          <h2><a name="maps"></a>Image maps</h2>
          <p>Dreamweaver allows you easily to create image maps, with different 
            links for different sections of the picture, and behaviors assigned 
            to these areas.</p>
          <h3>Activity:</h3>
          <p>For example, say you want to use a picture of two people and you 
            want to create a page about each person. By clicking on the person, 
            you want the user to be able to access information about that person.</p>
          <p>Let's use this picture for the exercise. (This is Craig Cunningham 
            and daughter Rowan Cunningham). Notice what happens when you click 
            your mouse on the face of one or the other.</p>
          <p><img src="img/cacro-smaller.jpg" width="250" height="188" usemap="#Map" border="0"> 
          </p>
          <p>Download it to your Local Root Folder or subdirectory of your local 
            root folder. (To do this, right-click or control-click on the image 
            and choose Save Image As...) 
            <map name="Map">
              <area shape="circle" coords="99,106,33" href="craig.htm" alt="Click here for more information about Craig" title="Click here for more information about Craig" target="_blank">
              <area shape="circle" coords="166,107,34" href="rowan.htm" alt="Click here for more information about Rowan." title="Click here for more information about Rowan." target="_blank">
            </map>
          </p>
          <p>Now insert this picture into a new file. (Click File|New Window.) 
            Then choose &quot;Insert|Image&quot; and select the file.</p>
          <p>Let's say we want to link Craig's face to a page called craig.htm 
            and Rowan's face to a page called rowan.htm. Create these new files. 
            For now, just put descriptive comments in these two files, such as 
            &quot;This file will contain information about Craig&quot; and &quot;This 
            file will contain information about Rowan.&quot; Save and close these 
            two files.</p>
          <p>Click on the picture. In the Property Inspector, you'll notice some 
            tools on the left-hand side:</p>
          <p align="center"><img src="img/dw4wit24.jpg" width="103" height="47"></p>
          <p>Type a name into the Map field. It can be something like &quot;map1&quot;. 
            It just has to be unique within the page.</p>
          <p>The three buttons with light-blue shapes on them are the tools you 
            use for creating a &quot;hot spot&quot; in the image that can be linked 
            to another page. You can make a rectangle, circle, or polygon using 
            these tools.</p>
          <p>The arrow tool is used to move or resize a hot spot after it is created.</p>
          <p>Experiment with these tools. If you make a mistake, press Ctrl-Z 
            (or Command-Z on the Mac) or click Edit|Undo.</p>
          <p>Create two &quot;hot spots&quot; on the image: one over Craig's face 
            and the other over Rowan's face, like this:</p>
          <p align="center"><img src="img/dw4wit25.jpg" width="321" height="235"></p>
          <p>You'll notice a little yellow thingy <img src="img/dw4wit27.jpg" width="19" height="15">appears 
            next to the image. This indicates a &quot;hidden&quot; tag, in this 
            case the tag &quot;map&quot;. Don't delete it or you'll loose the 
            image map you just created. </p>
          <p>The green areas do not show up on the finished page, but represent 
            the area of the image that is &quot;hot&quot; for a specific link 
            or behavior.</p>
          <p>Each hotspot can be linked to a different page, or can have a different 
            behavior attached to it. (Behaviors include things like making a layer 
            visible, or setting the text of a layer to some predefined text. These 
            are discussed in more detail in the lesson on <a href="behaviors.htm">behaviors</a>.)</p>
          <p>For now, let's link the two hotspots on the photo of Craig and Rowan 
            to the files you made just above, craig.htm and rowan.htm. To do this, 
            click on a hotspot. The property inspector should say &quot;hotspot.&quot; 
            Use the folder icon to find and select the appropriate file to link 
            to:</p>
          <p align="center"><img src="img/dw4wit26.jpg" width="520" height="93"></p>
          <p>You could also enter a target (the window in which the link will 
            load) and some &quot;alt&quot; text to display when the cursor is 
            over the link (for example &quot;click here to see more info about 
            Craig.&quot;)</p>
          <p><a href="#top">Back to the top.</a></p>
          <h2><a name="tables"></a>Using Tables to arrange pictures on a page</h2>
          <p>You can use a table to place a photo and its caption, thus:</p>
          <table width="89%" border="3" cellspacing="3" cellpadding="5" align="center" bgcolor="#339933">
            <tr> 
              <td><img src="img/thomas.jpg" width="320" height="240"></td>
              <td> <div align="center"><font color="#FFFF00">Craig and Cheryl 
                  were delighted to welcome Thomas Liam Cunningham to their family 
                  on June 5, 2001!</font></div></td>
            </tr>
          </table>
          <p>Tables are good ways to arrange multiple pictures on a page<font face="Arial, Helvetica, sans-serif">, 
            as in <a href="../../../2001/modules/dw4wit/pix.htm" target="_blank">this 
            example</a></font>.</p>
          <p></p>
          <p>If you don't use tables, then each image must be on a separate line, 
            or else they run into each other like this:</p>
          <p><img src="img/dw11.jpg" width="33" height="29"><img src="img/dw13.jpg" width="59" height="20"><img src="img/dw14.jpg" width="73" height="21"><img src="img/dw18.jpg" width="29" height="28"><img src="img/dw19.jpg" width="21" height="26"><img src="img/dw23.jpg" width="63" height="50"></p>
          <p>Without tables, the only spacing you could do would be one space 
            between each image. (Dreamweaver only allows you to insert one space 
            between any two objects). This is the result:</p>
          <p><img src="img/dw11.jpg" width="33" height="29"> <img src="img/dw13.jpg" width="59" height="20"> 
            <img src="img/dw14.jpg" width="73" height="21"> <img src="img/dw18.jpg" width="29" height="28"> 
            <img src="img/dw19.jpg" width="21" height="26"> <img src="img/dw23.jpg" width="63" height="50"></p>
          <p>(You could also use the v space and h space properties on the property 
            inspector for each image; for example, here I've put &quot;10&quot; 
            into both of these field on each image in the group:</p>
          <p><img src="img/dw11.jpg" width="33" height="29" vspace="10" hspace="10"> 
            <img src="img/dw13.jpg" width="59" height="20" vspace="10" hspace="10"> 
            <img src="img/dw14.jpg" width="73" height="21" vspace="10" hspace="10"> 
            <img src="img/dw18.jpg" width="29" height="28" vspace="10" hspace="10"> 
            <img src="img/dw19.jpg" width="21" height="26" vspace="10" hspace="10"> 
            <img src="img/dw23.jpg" width="63" height="50" vspace="10" hspace="10"> 
          </p>
          <p>This works well, but doesn't allow you to automatically adjust the 
            spacing to fit different browser resolutions. )</p>
          <p>&nbsp;</p>
          <h3><a href="imagesandtablespractice.htm">Practice Activity</a></h3>
          <blockquote>&nbsp;</blockquote>
          <p><a href="#top">Back to the top.</a></p>
          <h2><a name="imageediting"></a>Using Image Editing Software with Dreamweaver</h2>
          <p>You can always edit an image outside of Dreamweaver using an image 
            editing package such as Photoshop or Paint Shop Pro. If you right-click 
            (control-click on a Mac) a file in the Site View, one of the choices 
            on the pop-up menu is &quot;Open With...&quot;. If you choose this, 
            you are allowed to browse your hard disk and look for the program 
            you want to use (for example, in C:\Program Files\Adobe\Photoshop 
            you'll find photoshop.exe. If you click on this, your image will be 
            opened into Photoshop (assuming that this program has been installed 
            on your machine). Once you open a file with a program, the program 
            will show up in the list of programs to open with, and you won't have 
            to browse to find it again.</p>
          <p>Let's say you want to edit an image after you have already placed 
            it into a page. For example, let's say I want to crop this image to 
            make it more of a close-up of the people:</p>
          <p align="center"><img src="img/cac&ro-smaller.jpg" width="250" height="188"></p>
          <p>If I right-click the image in its place in my web page (or control-click 
            in on a Mac), I get a pop-up menu that includes the choice &quot;Edit 
            With...&quot;. Again, I can browse to the program I want to use the 
            edit the file. </p>
          <p>Once I'm finished, and I save the image, and return to Dreamweaver, 
            the image is now cropped:</p>
          <p align="center"><img src="img/cac&ro-smaller-detail.jpg" width="250" height="188"></p>
          <p>However, it is distorted, because the SIZE of the image still reflects 
            the size that it was before I cropped it. To fix this, I can delete 
            the size entries in the property inspector or right-click (control-click 
            on a Mac) and choose Refresh Size, which will set the size to what 
            it actually is.</p>
          <p><a href="#top">Back to the top.</a></p>
          <h4 align="right"><a href="templates.htm">Next Lesson</a>.</h4>
        </li>
      </ul>
      <!-- #EndEditable --> </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> 
      <table width="100%" border="3" cellspacing="3" cellpadding="5" bordercolor="#003300" align="left">
        <tr> 
          <td><h6 align="left"> <font color="#006600">The contents of the Web 
              Institute for Teachers website are Copyright 1999-2002, University 
              of Chicago. No one may print, copy, or otherwise reproduce these 
              materials without the express written permission of the Director 
              of the Web Institute for Teachers. </font></h6>
            <h6 align="left"><font color="#006600"> The current time is 
              <!--#config timefmt="%I:%M %p on %A %b %d, %Y"-->
              <!--#echo var="DATE_LOCAL"-->
              . This page was last modified on 
              <!--#config timefmt="%b %d, %Y" -->
              <!--#echo var="LAST_MODIFIED"-->
              . It has had 
              <!--#exec cgi="/cgi-bin/nmi/textcounter/witcounter.pl"-->
              . </font></h6>
            <h6><font color="#006600">Please use the <a href="/2002/feedback/index.htm">Feedback</a> 
              button to tell us how you like this page.</font></h6>

			  </td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
    </td>
  </tr>
</table>
</font>
</body>
<!-- #EndTemplate --></html>
