Images & Image Maps
|
Image Creation:
Image Size/Resolution and Optimization:
Image
Formats Used on the Web:
Images
in a web page are separate files! : All image
files should be named and organized in your web site folders before you
insert them into your page. If you move image files around into a new
folder after inserting them or change the file name, you will have a broken
image link on your web page and you will need to re-link the file.
Images files ONLY APPEAR to be part of the web page, but they are really a link to an image file. Do NOT move, rename, or throw image files away, because you think they are "in the page".
Inserting
Images in Dreamweaver:
Image Blank: (below Image, 5K) is for naming the image to refer to later from scripts W and H options: the pixel value of the width and height of the image are set when the image is inserted. It speeds the download of the page by setting the exact space for the image needed.
Src: the name and location of the gif or jpg image file (i.e. smiley.gif or fred.jpg). If the original location of the image is changed the image location needs to be changed. Failing to do so will result in a broken link to the image file. Alt: Fill in short descriptive text of what the image is illustrating. This assists users who use voice readers on their computers or who have slow connections and choose to turn images off. Link: Use to make the image button a clickable hyperlink. Fill in a URL (http://www.rit.edu) to another web site or click the folder next to the link fill-in to link to a local html document. If you wish to link a thumbnail image to a larger version of the image you can do that here, by linking to the image file or to another html document with the larger image inserted into it. Border: 0 for 0 pixels or no border, unless you want a border around the image. V Space: Fill in a pixel number to make space above and below the image H Space: Fill in a pixel number to make space to the left and right of an image. Alignment options: Refers to how the text will align near an image. Alignment Examples: |
|||||||||||||||
|
Image
Maps: define clickable hotspots on an image which link to web
pages or other images when clicked. Dreamweaver can create these
for you. What kind of images are good for image mapping? Choose images which look clickable such as button bars, navigational images, maps, etc. that clearly inform the user that the image is clickable. |
EXAMPLE:
Click the icons in the example image below to see how an image map
works. ![]() |
Making the Image Map:
1. Insert > Image. Click once to highlight the inserted image to show the image properties.
For our example we will use an image of the head options in the object toolbar of Dreamweaver (shown below).2. In the lower left corner of the Image Properties fill in a single word for the Map name.
3. Click a shape that will best create a hotspot on the image (rectangle, circle or polygon). When you begin making the first shape on the image the hotspot properties pictured below will show up on the Properties Toolbar.
4. For the circle or rectangle drag across the part of the image where you want the first hotspot. Fill in a web address or file name where you want the the user to go when they click the hotspot. Fill in an ALT tag to explain the image hotspot. Continue the procedure with the each hotspot.
5. For a polygon, click each corner of the polygon to connect up a final shape.
