Image Stimulus¶
An image stimulus displays an image
Required Properties¶
type¶
content¶
- Definition: A pointer to the underlying resource
- Possible values: Must be the file name of the image file (you will be prompted to upload the image file)
- Format support is dependent upon the participant's browser. See Tips tab for further information.
- Common image formats such as .jpg, .png, and .gif are safe choices for the majority of cases.
Optional Properties¶
barrier¶
- Definition: If set to 'true', a duration property must also be specified, and the stimulus will prevent all other subsequent stimuli and responses from appearing on the trial until the specified duration is over.
- Possible values:
trueorfalse - Default:
false
delay¶
duration¶
- Definition: Keep the image stimulus visible for a certain number of seconds relative to the onset of the stimulus
- Possible values: A number; decimals are supported (e.g.
1.3) - Default (by omission):
-1, meaning that the stimulus, once triggered, will stay on a trial indefinitely - In most cases, it is far more common to manipulate the duration of a trial instead. Please make sure you really intend to specify a duration for a specific stimulus before using this feature!
parent¶
- Definition: If specified, then the properties of the specified stimulus will be inherited by this stimulus, unless a property of the same name is defined in this stimulus
- Possible values: The name of another defined stimulus
Here, the image1 stimulus inherits the delay property of image0. image1 does not inherit the width property of image0 because the stimulus definition of image1 has its own specified width property.