6.1. Files, images and video

These artefacts are internal Mahara ones to display:

  • links to files that you have uploaded
  • folders that contain files
  • show images
  • embed audio and video files

6.1.1. File(s) to download

Files to download

Select files that viewers of your portfolio can download.

Configure the block Files to download

Configure the File(s) to download block

  1. Block title: Choose a title for your files block.
  2. Files area: Choose from which files area you would like to select a file:
    • My files: You see all the folders and files that you have created.
    • Group files: You see all the folders and files that you are allowed to publish.
    • Institution files: If you are an institution administrator, you will see institution folders and files.
    • Site files: If you are a site administrator, you will see all site folders and files. Otherwise, you can only see the ones that are in the folder public in the Site files.
  3. Upload file: You do not have to go back to your Files area in Content in order to upload a file. You can do so directly from this screen.
  4. new in Mahara 1.6 If the site administrator turned on the image resizing option, you can decide whether you want to have your images resized if they are larger than the specified dimensions. This option is recommended to save space in your portfolio.
  5. Folder path: The breadcrumbs show in which folder you are currently.
  6. You can still edit any component of the file, i.e. its file name, description and tags by clicking on the Edit button.
  7. Choose the file or files you wish to display by clicking on the Select button.
  8. You can also still select files (within folders) that have been submitted in another portfolio page.
  9. Click the Remove button to not display a specific file in this block anymore.
  10. Click the Save button to accept your changes, or click the Cancel button to leave the block’s content as it is. The Remove button is shown only when you place the block into the page and have not yet added any artefacts.

Note

You cannot re-order files once you have selected them. You would need to remove them and select them again in the correct order.

Warning

When you place group, institution or site files into a page, beware that these files may not be available at some point anymore when the person in charge deletes them.

When the block is placed on the portfolio page, the following information is displayed:

  • file name
  • file description
  • size
  • upload date
  • a link to more details
File download details

Details about files that can be downloaded.

When users click on the Details link, they are taken to the details page for that particular file and see some more metadata.

Metadata for a file that can be downloaded

More details about a file that can be downloaded.

  1. The title of the page in which the artefact appears is linked.
  2. The author of the page is displayed and a link to the profile page provided.
  3. The name of the file is displayed.
  4. The name of the file is displayed again but with a link and a file icon.
  5. Additional metadata is displayed for the file:
    • file type
    • description
    • owner
    • creation date
    • last modified date: for meta data
    • size
    • download link
  6. If the owner of the file allowed comments, you can place feedback directly on the file.
  7. You can also report this file if it contains objectionable content by clicking on the Report objectionable material link.
  8. You can print the metadata page via the Print link.
  9. You can add the page in which the artefact appears to your watchlist by clicking on the Add page to watchlist link.

6.1.2. Folder

Display an entire folder

Select a folder to display all files within it as links on your page.

Configure the block Folder

Configure the Folder block

  1. Block title: If you leave the title blank, the title of the folder that you choose to display will be used.
  2. Files area: Choose from which files area you would like to select a folder:
    • My files: You see all the folders and files that you have created.
    • Group files: You see all the folders and files that you are allowed to publish.
    • Institution files: If you are an institution administrator, you will see institution folders and files.
    • Site files: If you are a site administrator, you will see all site folders and files. Otherwise, you can only see the ones that are in the folder public in the Site files.
  3. Folder path: The breadcrumbs show in which folder you are currently.
  4. You can edit any component of the folder, i.e. its name, description and tags by clicking on the Edit button.
  5. Choose the folder you wish to display by clicking on the Select button.
  6. You can also still select folders that have been submitted in another portfolio page.
  7. Click the Remove button if you wish to revert your choice.
  8. Click the Save button to accept your changes, or click the Cancel button to leave the block’s content as it is. The Remove button is shown only when you place the block into the page and have not yet added any artefacts.

Warning

When you place a folder with group, institution or site files into a page, beware that these files may not be available at some point anymore when the person in charge deletes them.

6.1.4. Some HTML

Include HTML code

Display the content of an HTML file in a page.

Configure the block Some HTML

Configure the HTML block

  1. Block title: Choose a title for your block.
  2. Files area: Choose from which files area you would like to select an HTML file:
    • My files: You see all the folders and files that you have created.
    • Group files: You see all the folders and files that you are allowed to publish.
    • Institution files: If you are an institution administrator, you will see institution folders and files.
    • Site files: If you are a site administrator, you will see all site folders and files. Otherwise, you can only see the ones that are in the folder public in the Site files.
  3. Upload file: You do not have to go back to your Files area in Content in order to upload a file. You can do so directly from this screen.
  4. Folder path: The breadcrumbs show in which folder you are currently.
  5. Name: The name of a folder or file is displayed.
  6. Description: If you provided a description for your folder or file, you can see it.
  7. Tags: The tags that you used are displayed and linked. If you click on a tag, you will be taken to the My tags page.
  8. Click the Edit button to change any component of a folder or file, i.e. its name, description and tags. If you have a folder or file included in a page that you submitted for feedback, you will not be able to edit them.
  9. Click the Select button to choose the HTML file you wish to display in the block.
  10. Click the Remove button if you want to revert your selection.
  11. Click the Save button to accept your changes, or click the Cancel button to leave the block’s content as it is. The Remove button is shown only when you place the block into the page and have not yet added any artefacts.

Note

You can only display a self-contained HTML file in a page, but not an entire site because the links to the files are not retained correctly when you upload files.

Warning

When you place group, institution or site files into a page, beware that these files may not be available at some point anymore when the person in charge deletes them.

6.1.5. Image

Display an image in a block

Display a single image in a block.

Configure the image block

Configure the Image block

  1. Block title: Choose a title for your block.
  2. Files area: Choose from which files area you would like to select an image:
    • My files: You see all the folders and files that you have created.
    • Group files: You see all the folders and files that you are allowed to publish.
    • Institution files: If you are an institution administrator, you will see institution folders and files.
    • Site files: If you are a site administrator, you will see all site folders and files. Otherwise, you can only see the ones that are in the folder public in the Site files.
  3. Upload file: You do not have to go back to your Files area in Content in order to upload a file. You can do so directly from this screen.
  4. new in Mahara 1.6 If the site administrator turned on the image resizing option, you can decide whether you want to have your images resized if they are larger than the specified dimensions. This option is recommended to save space in your portfolio.
  5. Folder path: The breadcrumbs show in which folder you are currently.
  6. Name: The name of a folder or file is displayed.
  7. Description: If you provided a description for your folder or file, you can see it.
  8. Tags: The tags that you used are displayed and linked. If you click on a tag, you will be taken to the My tags page.
  9. Click the Edit button to change any component of a folder or file, i.e. its name, description and tags. If you have a folder or file included in a page that you submitted for feedback, you will not be able to edit them.
  10. Click the Select button to choose the image file you wish to display in the block.
  11. Click the Remove button if you want to revert your selection.
  12. Show description: Tick this check box if you wish to display the description of your photo. It could contain the source of it for example.
  13. Width: Choose the width (in pixels) for your image. If you do not provide a number, the image will be scaled to the width of the block.
  14. Click the Save button to accept your changes, or click the Cancel button to leave the block’s content as it is. The Remove button is shown only when you place the block into the page and have not yet added any artefacts.

Warning

When you place group, institution or site files into a page, beware that these files may not be available at some point anymore when the person in charge deletes them.

6.1.6. Embedded media

Embed a video or audio file

Display an embedded video or audio file from your uploaded files. You can display mp3, mp4 and flv files per default.

Note

If you wish to display other file types, the site administrator must allow other media formats. These will not be displayed with the built-in media player but require that you have the correct media player installed to display these videos.

Configure the block Embedded media

Configure the Embedded media block

  1. Block title: Choose a title for your block.
  2. Files area: Choose from which files area you would like to select a media file:
    • My files: You see all the folders and files that you have created.
    • Group files: You see all the folders and files that you are allowed to publish.
    • Institution files: If you are an institution administrator, you will see institution folders and files.
    • Site files: If you are a site administrator, you will see all site folders and files. Otherwise, you can only see the ones that are in the folder public in the Site files.
  3. Upload file: You do not have to go back to your Files area in Content in order to upload a file. You can do so directly from this screen.
  4. Folder path: The breadcrumbs show in which folder you are currently.
  5. Name: The name of a folder or file is displayed.
  6. Description: If you provided a description for your folder or file, you can see it.
  7. Tags: The tags that you used are displayed and linked. If you click on a tag, you will be taken to the My tags page.
  8. Click the Edit button to change any component of a folder or file, i.e. its name, description and tags. If you have a folder or file included in a page that you submitted for feedback, you will not be able to edit them.
  9. Click the Select button to choose the media file you wish to display in the block.
  10. Click the Remove button if you want to revert your selection.
  11. Width: Choose the width (in pixels) for your video.
  12. Height: Choose the height (in pixels) for your video.
  13. Click the Save button to accept your changes, or click the Cancel button to leave the block’s content as it is. The Remove button is shown only when you place the block into the page and have not yet added any artefacts.

Note

Only the files that you are allowed to embed are displayed. If you uploaded a mp4 file but it does not show here, you may have to check if it has the correct codec. Only H.264 mp4 files can be embedded.

Warning

When you place group, institution or site files into a page, beware that these files may not be available at some point anymore when the person in charge deletes them.