HTML-Kit's Image Wizard and the "
" can be used to insert images with relative paths. The Image Wizard can be invoked using the "
Tags | Image | Insert Image
" menu option, or the "
" icon on the "
" tab. Image files in the "
" can be dragged and dropped
on HTML documents.
contain directions on how to find files relative to the present location of the document. The use of relative paths can make it easier to move pages, from the local computer to a web server or from one directory to another, without having to manually adjust the paths to images and other files.
To make sure that a portable relative path can be created when inserting images:
Keep HTML documents and image files inside a single directory tree. The image files can be in a separate folder, however it is recommend that this folder is a sub folder inside the folder where HTML files are kept.
- After creating a new Untitled HTML document, save it to the appropriate folder before inserting image files.
- If the HTML document is opened from a remote FTP server, make sure that the images being inserted come from the same server. A relative path can only be created if the HTML documents and the image files reside on the same server or the same drive.