Configure File Uploads
If administrators enable and configure the Upload module, users can attach files to the site. Administrators can restrict file uploads to certain user roles and even limit the size of individual files as well as the cumulative size of all uploads by that user. Files can be uploaded as attachments to individual items and images can be uploaded and placed inline with individual items using this module.
- Make sure the upload module is enabled. Click Administer (top menu) » Site building » Modules and check the box next to "Upload".
- Select which types of content will accept file attachments by configuring the default workflow. Click Administer » Content management » Content types.
- For content types you wish to allow uploads, click the 'edit' link.
- Inside the content type configuration, near the bottom, select "Enabled" under "Attachments".
- Click Administer (top menu) » Site configuration » File uploads.
- Select the maximum size a user can upload. You can override this setting for each role (see Step 4).
- If you have multiple roles, then you can set the upload limits for each role through. (If you haven't done this yet but would like to, check out our instructions on creating roles and setting permissions.) Each role will have the following settings:
- file extensions allowed. If you want users to be able to upload certain types of files, you can add the extension—which is the type of file, so .pdf for PDF files, .doc for Microsoft Word files, etc.—to the "Permitted file extensions:" list separated by a space.
- "Maximum file size per upload" is the maximum size in megabytes (MB) that an individual uploaded file can be.
- ."Total file size per user" is the maximum amount of space a user has to upload files.
Attaching (Uploading) Files to Content
If the site's administrator has allowed attachments on content types you have access to, you should see at the bottom of the content submission screen a box labeled "Attachments".
- Click Create content then the type of content you wish to create. If you see a box labeled Attachments, you may proceed. Otherwise, contact your site's adminstrator if you believe you should be able to attach a file to individual items.
- Click the "Browse" button.
- Locate the file on your computer and click "OK" or "Open".
- Click the "Attach" button.
- If you get an error message, it may either be because the file type is not supported, the file is too big, or you have exceeded your upload limit.
- (optional) Scroll down to the attachments and choose whether you want the file listed at the end of the content. The URL of the file is listed, so you can copy that to your computer's clipboard memory and link to it directly in the content without it being listed at the bottom of the content.
- Important: you must save the content for the file upload to remain permanent.
Uploading Images in the WYSIWYG Editor
The upload module must be enabled for uploading images directly from your computer to be able to place the images inside content. Click Administer (top menu) » Site configuration » modules and check the box next to "upload". See our documentation on uploading images directly inside content for more information.