Wiki source code of Bild Variablen

Last modified by Carina Enke on 15.11.2025

Hide last authors
Carina Enke 458.2 1 {{section}}
2 {{column width="60%"}}
Carina Enke 459.1 3 Variables can also contain image content. For these kinds of variables, select the "**Image**" variable type.
Carina Enke 150.1 4
Carina Enke 459.1 5 [[image:attach:Editor - Bildvariable Typauswahl_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true"]]
Carina Enke 150.1 6
Carina Enke 459.1 7 Below, you will find instructions on the value settings for image variables.
Carina Enke 150.1 8
Carina Enke 459.1 9 [[image:attach:Editor - Bildvariable Wertsetzung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true"]]
Carina Enke 150.1 10
Carina Enke 459.1 11
Carina Enke 458.2 12 {{/column}}
13
14 {{column width="30%"}}
Carina Enke 459.1 15 {{panel title="Content"}}
Carina Enke 458.2 16 {{toc start="2"/}}
Carina Enke 448.1 17 {{/panel}}
Carina Enke 150.1 18
Carina Enke 459.1 19 {{panel title="Related Topics"}}
20 * [[Variables: Definition of a condition>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome]]
21 * [[Calculation interaction>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]]
22 * [[Formula comparison>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]]
Carina Enke 448.1 23 {{/panel}}
Carina Enke 150.1 24
Carina Enke 459.1 25 {{panel title="Further information"}}
26 * [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]]
27 * [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
28 * [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
Carina Enke 150.1 29 {{/panel}}
Carina Enke 458.2 30 {{/column}}
31 {{/section}}
32
Carina Enke 459.1 33 == Random selection ==
Carina Enke 458.2 34
Carina Enke 459.1 35 Store multiple images. At runtime, one of these images is then randomly selected. The following settings are available for image variables:
Carina Enke 150.1 36
Carina Enke 450.1 37 |=(((
Carina Enke 150.1 38 ID
39 )))|(((
Carina Enke 459.1 40 (% class="TableParagraph" %)
41 Each image is assigned a unique ID. This allows you to use [[conditions>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome]] to set other variables depending on the selected image file or precisely control the selection of the image file, for example.
Carina Enke 150.1 42 )))
Carina Enke 459.1 43 |=(((
44 Source
45 )))|(((
46 (% class="TableParagraph" %)
47 Select an image file from your resources by clicking on **Browse**. Then click on **Upload**, and the file will be uploaded and displayed as a preview image on the left.
Carina Enke 150.1 48 )))
Carina Enke 450.1 49 |=(((
Carina Enke 459.1 50 Description, Width, Height
Carina Enke 150.1 51 )))|(((
Carina Enke 459.1 52 (% class="TableParagraph" %)
53 You can store an alternative text description for each image file if the image cannot be displayed on the participant's device. You can also define the width and height of the image.
Carina Enke 150.1 54 )))
55
Hendrik Zschocke 457.1 56 [[image:attach:Editor - Bildvariable Wertsetzung Zufällige Auswahl_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 150.1 57
Carina Enke 459.1 58 **Application example:**
Carina Enke 150.1 59
Carina Enke 459.1 60 * Random selection: Image_01, Image_02, Image_03: One of the specified images is randomly selected, for example "The Monument to the Battle of the Nations in Leipzig".
Carina Enke 382.1 61
Carina Enke 450.1 62
63
Carina Enke 459.1 64 == Calculation (Maxima) ==
Carina Enke 450.1 65
Carina Enke 459.1 66 Use the option to display images in questions via image variables. These are generated at runtime using the specified MAXIMA calculation.
67
68 After selecting the **Calculation (Maxima)** option, you will see a text field. Enter your calculation rule in MAXIMA notation. Please note that the use of the [**$FILENAME**] placeholder is mandatory for the image file.
69
70 You can also find more detailed information in the Maxima help, for example on the [[Graphic representation>>url:https://maxima.sourceforge.io/docs/manual/de/maxima_12.html||shape="rect"]] help page.
71
Hendrik Zschocke 457.1 72 [[image:attach:Editor - Bildvariable Wertsezung Berechnung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 450.1 73
Carina Enke 459.1 74 == Function graph (Maxima) ==
Carina Enke 450.1 75
Carina Enke 459.1 76 A similar display is also available with the **Function graph (Maxima)** selection option. Here you can add functions directly in the editor interface and set the desired display specifications.
Carina Enke 450.1 77
Hendrik Zschocke 457.1 78 [[image:attach:Editor - Bildvariable Wertsetzung Funktionsgraph_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 450.1 79
Carina Enke 459.1 80 == Charts (Maxima) ==
Carina Enke 450.1 81
Carina Enke 459.1 82 It is also possible to store charts with the appropriate selection options.
Carina Enke 450.1 83
Carina Enke 459.1 84 The following chart types are available:
Carina Enke 450.1 85
Carina Enke 459.1 86 * bar chart
87 * bar set chart
88 * pie chart
Carina Enke 450.1 89
Carina Enke 459.1 90 Depending on your selection, you will be shown suitable configuration options for specifying the required values, colours and image sizes.
Carina Enke 450.1 91
Hendrik Zschocke 457.1 92 [[image:attach:Editor - Bildvariable Wertsetzung Säulendiagramm_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 450.1 93
Hendrik Zschocke 457.1 94 [[image:attach:Editor - Bildvariable Wertsetzung Säulensetdiagramm_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 450.1 95
Hendrik Zschocke 457.1 96 [[image:attach:Editor - Bildvariable Wertsetzung Kreisdiagramm_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]