By default, images are placed in default positions on the page, following a few simple rules. Because many site editors have asked to be able to place pictures within the main page text, the option to do so is now available. The normal Help file on the editors' sidebar menu describes what to do — the following points explain the reasons behind the implementation, and related additions to the software.
- The Site Builder does not support a "wysiwyg" interface with direct manipulation of page elements, or the insertion of html markup, so the option has been implemented in a similar way to the one for "inline" links, whereby a reference in the text is matched and replaced dynamically when the page is displayed. But there are necessary differences in the treatment.
- Site Builder images are stored in two forms: at their original size and as (144px X 109px) thumbnails. Only the thumbnail versions are displayed inline: they have predictable dimensions and will not make large vertical "holes" when placed in normal running text. The thumbnails act as links to the corresponding full-size versions.
- Inline images must be given a left-right alignment code to define their horizontal placement on the page. A related article has some advice about selecting image alignment and controlling layouts comprising both text and pictures.
- Whereas references to inline links use a word or phrase to identify the relevant URL to be inserted, inline picture references use a unique identifier: the key assigned to the database entry for the picture. This was chosen because it is short and unambiguous, and avoids the problems occasionally encountered with inline links, when the matching process picks up the wrong item.
- To provide editors with the necessary reference data, the page editing form has been extended to allow editors to view a list of pictures registered for the page and select their identifiers for insertion. An additional option is provided to allow the same picture to be registered for more than one page to make it available for inline use, and pictures can now be marked "inline only" to suppress their display in the sidebar.
- By default, clicking on an image will cause it to be shown on a separate page in the standard way, but there is an alternative option, selectable via Customisation/Choose option in the Admin menu. If the option labelled Inline pictures: special effects is activated, clicking any inline image on the site will cause the the corresponding full-size version to be shown as an overlay on the current page. From there, visitors will be able to move backwards and forwards through all inline images for the same page, using the mouse or the cursor keys,