Collage
The Collage content type composes several AI-generated images into a single view arranged by a row template. It is a decorative type: it has no interaction and no score, so it never reports a grade to Moodle.
AI-generated configuration
| Setting | Description | Possible values | Default |
|---|---|---|---|
| Number of images | How many generated images the collage contains. | 1 to 6 (hard cap of 6; requests above it are trimmed without failing) | Derived from the prompt, within 1–6 |
| Row template | Layout that distributes the images across rows (e.g. three on top and one large below is a 3-1 composition). | Any row template coherent with the number of images and the layout the teacher asks for | Chosen by the AI to fit the images |
| Spacing | Space between the images of the composition. | Configured value | Set by the AI |
| Frame | Frame around the images. | Configured value | Set by the AI |
| Scale | Scale of the images within the composition. | Configured value | Set by the AI |
Generated content
- Between one and six AI-generated images composed in a single view.
- A row template consistent with the distribution the teacher requested (for example, three panoramic photos on top and one large photo below).
- With a single image, the image fills the whole composition.
Rules and behavior
- Images are always generated, even when the Generate images option of the AI modal is turned off. This is by design: the content of this type depends entirely on its images, so it must not be reported as a failure.
- The type is decorative: it has no interaction and no score.
- A failed image is omitted without aborting the generation of the collage.
- When more than six images are requested, the request is trimmed to the maximum of six without failing, keeping a row template coherent with the images that are kept.
- With a syllabus or source document uploaded, the concepts represented by the images must be strictly traceable to the document, with no invented concepts.
Example prompts
Without syllabus
Produces a collage with four images, one per pictorial style, composed in a single view:
I need an H5P collage for the art history course that brings together four pictorial styles in a single view: impressionism, cubism, surrealism, and abstract expressionism. One representative image per style.
Produces a four-image collage with a 3-1 row template matching the requested layout:
Prepare an H5P collage about the landscapes of a mountain tourist destination: three panoramic photos on top (summit, lake, and forest) and one large photo of the town below.
With syllabus
Produces a single full-view image representing the central topic of unit 3 of the uploaded document:
I want an H5P collage with a single full-view image representing the central topic of unit 3 of the syllabus, to open that unit.