Fragments

Although each fragment usually has a text item, it can also be an image, or have an image associated with it.

Fragment Images

To assign an image to a fragment, simply save the image (normally in jpg or png format) in same folder as the fragment, and with exactly the same name. It will then be assigned as the image for that fragment and displayed with it in the page template.

Images as fragments

Fragments may also be defined simply by an image. To do this you just don’t create a text file with the same name. Fragmenta will initialise a fragment from the image details (including reading the image EXIF data if necessary), and you can address that fragment in pages as you would normally. This is most useful for creating galleries of images, where you don’t want to create .txt files for each image, and may even have the caption information already embedded in your images.