properties.saveToFileMount

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ImageUpload.properties.saveToFileMount

Data type

string

Needed by

Frontend/ Backend (form editor)

Overwritable within form definition

Yes

form editor can write this property into the form definition (for prototype 'standard')

Yes

Mandatory

No

Default value (for prototype 'standard')
 1ImageUpload:
 2  properties:
 3    containerClassAttribute: input
 4    elementClassAttribute: lightbox
 5    elementErrorClassAttribute: error
 6    saveToFileMount: '1:/user_upload/'
 7    allowedMimeTypes:
 8      - image/jpeg
 9      - image/png
10      - image/bmp
11    imageLinkMaxWidth: 500
12    imageMaxWidth: 500
13    imageMaxHeight: 500
Description

The location (file mount) for the uploaded images. If this file mount or the property "saveToFileMount" does not exist the folder in which the form definition lies (persistence identifier) will be used. If the form is generated programmatically and therefore no persistence identifier exist the default storage "1:/user_upload/" will be used.