By Sean McMains
In order to use graphics files on your site, you first need to upload the files to your site. Since files are always associated with messages, you might want to create a message that will have all your graphics included. Alternately, you can include your graphics with the message where they'll be needed. In either case, once you've created a message to contain your graphics files, do the following:
- Edit the message, either by clicking EDIT when the message is displayed or by choosing to create a new message.
- Click the "Browse..." button in the Enclosures section of the message editing form.
- Locate and select the image file you wish to upload. The name of the file should appear in the field next to the "Browse..." button.
- Click "Submit Changes" to save your work.
- Now you can use Conversant's <!--#enclosure--> macro to include the graphic in your message. The height and width will be computed automatically to help the page render quickly. For example, on this page the macro <!--#enclosure filename="conversant_badge.gif"--> generates this HTML:
<img src="http://www.free-conversant.com/newbies/71/enclosure/conversant_badge.gif" height="55" width="120" />
and looks like this:
For more information on the enclosure macro, see this how-to.