Skip to content

Commit 957ebce

Browse files
authored
Added link to image resizing options (#160)
1 parent 5e9760d commit 957ebce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ Option | Description
831831
`maxFilesize` | file size in Mb that are accepted by the uploader, optional. Default: from "upload_max_filesize" param value
832832
`useCaption` | allows a title and description to be set for the file. Default: true
833833
`prompt` | text to display for the upload button, applies to files only, optional.
834-
`thumbOptions` | options to pass to the thumbnail generating method for the file
834+
`thumbOptions` | options to pass to the thumbnail generating method for the file. See [Image Resizing](../services/image-resizing#available-parameters)
835835
`attachOnUpload` | Automatically attaches the uploaded file on upload if the parent record exists instead of using deferred binding to attach on save of the parent record. Defaults to false.
836836

837837
> **NOTE:** Unlike the [Media Finder FormWidget](#media-finder), the File Upload FormWidget uses [database file attachments](../database/attachments); so the field name must match a valid `attachOne` or `attachMany` relationship on the Model associated with the Form. **IMPORTANT:** Having a database column with the name used by this field type (i.e. a database column with the name of an existing `attachOne` or `attachMany` relationship) **will** cause this FormWidget to break. Use database columns with the Media Finder FormWidget and file attachment relationships with the File Upload FormWidget.

0 commit comments

Comments
 (0)