From 5e071fc817156bef56f7fae4d439e87c18a0c3ea Mon Sep 17 00:00:00 2001 From: WebVPF <61043464+WebVPF@users.noreply.github.com> Date: Mon, 2 Oct 2023 03:05:28 +0300 Subject: [PATCH] Added link to image resizing options --- backend/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/forms.md b/backend/forms.md index fc9c212c..446d322d 100644 --- a/backend/forms.md +++ b/backend/forms.md @@ -831,7 +831,7 @@ Option | Description `maxFilesize` | file size in Mb that are accepted by the uploader, optional. Default: from "upload_max_filesize" param value `useCaption` | allows a title and description to be set for the file. Default: true `prompt` | text to display for the upload button, applies to files only, optional. -`thumbOptions` | options to pass to the thumbnail generating method for the file +`thumbOptions` | options to pass to the thumbnail generating method for the file. See [Image Resizing](../services/image-resizing#available-parameters) `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. > **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.