4.b. Insérer des images

t is possible to type HTML tags directly into most of the Hot Potatoes text boxes, in order to insert images or links into the Web pages. However, if you want to insert a graphic, you can use one of the built-in functions to help you. With your cursor in a Hot Potatoes text box, click on the Insert menu and choose Picture / Picture from Local File. A dialog box will appear, allowing you to select an image from your hard drive. Then you will see the screen below. From this screen, you can configure the information which will create the IMG SRC tag and insert it in the text box. Note that Hot Potatoes is NOT a WYSIWYG Web page editor; the tools on the Insert menu are only intended to help you create HTML code for the page, and you will not see the image until you actually compile the page. Also, note that the program automatically creates a relative file path between your data file (your .jbc, .jcl or other Hot Potatoes file) and the image file on your hard drive. If you do not intend to put your HTML pages in the same place as your data file relative to your image files, then you will need to configure the relative path manually to ensure that the image appears on your page. This will be much easier if you understand basic HTML.

Here is the Insert picture screen. Click on the graphic to get more information about how it works.

Martin Holmes, Half-Baked Software and the University of Victoria Humanities Computing and Media Centre, 1998-2001.