To add a picture to a page, you need to do two things:
  1. Attach the image file to the page where you want to use it.
  2. Edit the page and specify where the image should be displayed.
Let's take one step at a time.

Attach the image file to the page where you want to use it

First, please note that you cannot simply "paste" an image from Windows into your edit window. Anything you use on TWiki must exist as a file already (except the text itself, which you enter in the edit window).

Make sure you have your image as a picture file. It can be JPG, JPEG, GIF, or PNG. All of these formats work well on Gundtofte-Bruun Wiki . Note: If you use BMP, the picture will not be displayed on the page, only as a text link. It is recommended to use the above file formats instead.

Once you have your image as a picture file, you can attach it to the page where you want it to be displayed. See HowToAttachFilesToAPage. Make sure that the checkbox "Create a link to the attached file at the end of the topic." is checked.

When this is done, you will see that your picture appears at the end of the text. If it is okay to put it there, you don't need to do anything more. If you want the image somewhere else on the page, please follow the second step.

Edit the page and specify where the image should be displayed

Second, when you have attached the file, you need to edit the page. At the end of the text, you can find the code that contains your image:

   * Here is my image: <img src="%ATTACHURLPATH%/viking.jpg" 
alt="viking.jpg" width="250" height="282" />

This is HTML code, so you can change it if you want to, but you can also just leave it as it is. Select the whole thing and cut it (Ctrl+X), then place the text marker where you want the image to appear and paste it (Ctrl+V). If you don't want the description to appear, then you can delete the purple part of the code.

Click Save and you are done.

Back to IntranetFAQ?

Topic revision: r1 - 25 Aug 2003 - 10:05:00 - TorbenGB
 
Copyright © 2008 the Gundtofte-Bruun family and contributing authors. All content is the property of the contributing authors unless where otherwise stated.