You can upload and manage files on UQ Standard websites by using Drupal's file browser.

Online images and documents need to be stored on a web server so users can view them on your site. You can upload and manage most of these files by using Drupal's file browser.

1. Naming files

When naming your files:

  • use lowercase human-friendly titles (e.g. use uq-pathways-brochure-2019, rather than UQ Pathways 2019)
  • don't include version numbers or words such as 'Final'
  • keep your file names short
  • replace spaces with hyphens
  • don't use special characters.
Top of page

2. Uploading files

Uploading files

Before uploading a file, make sure you have:

You can upload files to the file browser through:

  • the Drupal menu, or
  • the WYSIWYG editor when inserting an image or link.

Uploading files through the Drupal menu

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Select the 'Images' folder to upload an image. For all other files, select the 'Files' folder.
  3. Click the 'Upload' button in the top menu.
  4. Select your file and click 'Open' to upload the file.

Uploading images using the WYSIWYG

  1. Click where you would like to insert the image in the WYSIWYG editor.
  2. Click the image icon in the WYSIWYG editor.
  3. Click the 'Browse Server' button. This will open the file browser.
  4. Select the 'Images' folder and click the 'Upload' button in the top menu.
  5. Locate your image and click 'Open' to upload the file.
  6. Select the uploaded image and select 'Choose' to add it to the WYSIWYG.

Uploading documents using the WYSIWYG

  1. Highlight your link text and click the link icon in the WYSIWYG editor.
  2. From the window, select 'URL' from the 'Link type' drop-down menu.
  3. Click the 'Browse server' button. This will open the file browser.
  4. Select the 'Files' folder and click the 'Upload' button in the top menu.
  5. Locate your file and click 'Open' to upload the file.
  6. Select the uploaded file and select 'Choose' to create a link to the document.
Top of page

3. Updating files

If a file needs updating, use the 'Replace File' button. This function lets you upload an updated file without changing the original URL. Any links to the old file or image will continue to work.

To replace a file with an updated version:

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Select the file you want to replace and click the 'Replace File' button in the top menu.
  3. Locate the new file. Make sure that the new file has exactly the same name and file type as the original file.
  4. Select 'Replace'.
Top of page

4. Moving files

You can move files from one folder to another without having to re-upload them. After moving a file, any links to the file will continue to work.

To move a file:

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Select the file you want to move and drag it to the new folder.
  3. Select 'Move Here' and the file will be moved across.
Top of page

5. Renaming files

You can rename files after uploading them. After renaming a file, any links to the file on your website will continue to work.

To rename a file:

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Select the file you want to rename and click the 'Rename' button in the top menu.
  3. Enter a new file name and click 'OK'.
Top of page

6. Checking where files are being used

To check where a file is being used on your website:

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Select the file and click the 'File References' button in the top menu. This will show you where the file is being used on your website. It won't tell you if the file is being used on other websites.
Top of page

7. Creating subfolders

You can create new subfolders in the file browser to help organise your files.

To create a subfolder:

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Select the 'Files' or 'Images' folder and click the 'New Subfolder' button in the top menu.
  3. Enter a name for your subfolder and click 'OK'.
Top of page

8. Deleting files or subfolders

You can permanently delete files or empty subfolders.

Before deleting a file, you should check if the file is being used. Deleting a file that's still being used will cause broken links.

To delete a file:

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Locate the file you want to delete and click on it.
  3. Make sure the file is highlighted blue. This confirms you are deleting one file and not the whole subfolder.
  4. Right-click the file and select 'Delete'.

To delete a subfolder:

  1. Hover over the Drupal 'Content' menu, then click 'Browse files'. This will open the file browser.
  2. Right-click the subfolder you want to delete.
  3. Click 'Delete'.
  4. A confirmation window will appear. To permanently delete the subfolder, click 'OK'. This will delete all files and sub-folders within.
Top of page

9. Restricting access to files

On your website, you can restrict certain files to either:

  • all staff
  • all staff and all students.

To learn more, see our advice on restricting access to content.

Top of page

10. Accepted file types

Drupal's file browser accepts the following file types:

  • asf
  • csv
  • doc
  • docx
  • dot
  • dotx
  • ens
  • gif
  • gz
  • gzip
  • ics
  • jpeg
  • jpg
  • mp3
  • ods
  • odt
  • pdf
  • png
  • ppt
  • pptx
  • rar
  • rtf
  • tar
  • tgz
  • txt
  • vsd
  • xls
  • xlsx
  • xml
  • zip
Top of page