
Copyright © Rutgers Writing Program
PNG (*.png), or "Portable Network Graphics," is a lossless image compression
(meaning that even when an image is saved as a PNG file, it will look exactly the
same as the original file, unlike GIF and JPG). While it is not in extremely wide use, it
has its advantages over other formats in that it does not lose any quality. This does
mean, however, the filesize will generally be larger.
Once you have selected the image you wish to import, click the "Select" button.
Images Relative to a Location
When you insert an image into your page, the "Select Image Source" window (see
above) will ask you what you want your image “relative” to. What this means is that
when an image is inserted to your web page, the web will try to find the image
located relative to the web page file itself, or in a folder in what is called the "Site
Root."
When your image has been inserted into your page, Dreamweaver MX 2004
automatically creates a reference to that file in the HTML source code. To make sure
that this reference is correct, the image file must be in the current site. If it is not in
the current site, Dreamweaver MX 2004 asks whether you want to copy the file to
the root folder.
Aligning & Wrapping Text
Once you have imported an image, you are free to format and move it in any way.
To move an image, simply click and drag the image to your desired location. When
first imported, the image will most likely push the text away from it and take up a
large amount of room, leaving a lot of white space. You can either keep it this way,
or it is also possible to wrap the text around your image.
If you want to keep the image in between lines of text, per say, you can do this, and
either align the image to the left, the center, or the right. To do this, click and select
the image.
The Properties palette will change so that you can now format your image.
Directly below the "Reset Size" button on the lower right are three buttons. The first
is to align the image to the left, the second to align to the center, and the third to
align right.
Kommentare zu diesen Handbüchern