Adding images to your web pages, Part 2
Now that you've mastered the basics of image editing and placement, we'll explore a few additional options.
You will learn how to change your image's alignment from left to right, a faster way to resize your image, a quick way to move your image to another location on the page, how to apply a border, and a simple method to replace one image with another.
- Changing an image's alignment on the page:
- 1. In Part 1, the image was aligned to the left of the paragraph. This is the default setting.
- 2. To shift the image to the right, select the image, click the "Insert/edit image" icon and reopen the Appearance tab. Choose "Right" from the dropdown menu.
- 3. Now the image has shifted to the right. Because we didn't change the Horizontal and Vertical space, white space still exists between the image and the surrounding text.
- An easier way to resize an image:
- 1. Click on the image to select it. This will activate a "bounding box", illustrated by eight tiny squares surrounding the image boundaries. Drag on one of the corners while holding the "Shift" key to resize the image. Stop dragging and release the "shift" key when your image is the desired size.
- 2. Drag a corner square inward to decrease the size of the image.
- 3. Drag a corner outward to enlarge the image.
- 4. Distort the proportions by dragging a square without holding down the "Shift" key. Interesting effects can be applied this way.
- 5. Click "Submit" or "Apply" to save your changes.
- A quick way to move your image elsewhere on the page:
- 1. Click on the image to select it. Hold down your mouse key and drag the image to a new position on the page.
- 2. If the image is aligned-left (like in this example), it will maintain that alignment. (You can change the alignment in the "Appearance" panel.) If you are satisfied with the changes, click "Submit" or "Apply". Click "Cancel" to abort the changes.
- How to apply a border to an image:
- 1. Click on the image to select it. Click on the "insert/edit image" icon and select the "Appearance" tab. The border box is empty by default (no border).
- 2. Set the value (in pixels) for the border. The larger the number, the thicker the border. To remove the border, enter 0 or leave the field blank. Click update to apply the border to your image.
- 3. The final result is shown in the HTML editor. Repeat the steps again to make changes, or click "Submit" or "Apply" to save.
- Replacing an existing image with another:
- 1. It's easy to replace an existing image with another. First, select the image you want to replace, then click the "Insert/edit image" icon. Now you are in the "General" settings tab. Click on the "Browse" icon to select a new image.
- 2. The Image Manager dialog box will open. Click on the image or link that you want to replace the original image with.
- 3. The new image appears in the "General" panel. It will need to be resized in the "Appearance" Panel.
- 4. We'll reduce the width to 200 pixels. Because "Constrain proportions" is checked, the height will be adjusted automatically. We'll also keep the image aligned-left and maintain the same Vertical and Horizontal spacing.
- 5. You have successfully replaced the image. Click "Apply" or "Submit" to save your changes, or click "Cancel" to exit the screen without changes.
- 6. The final result of the image replacement is shown on the live site.
The next tutorial in the series will show you how to create a text link.




