LogoLogo
  • GovCMS Content Administration Training Manual
  • Contributing and Feedback Guide
  • Introduction to GovCMS
    • Introduction to GovCMS
    • Overview of user roles
  • Training Videos
    • GovCMS how-to videos
  • Unit 1: Intro to the Admin Backend
    • How to login to GovCMS
      • Exercise 1.1 - Login and Setting up TFA
    • How to log out from your site
    • Administration menu overview
      • Exercise 1.3 - Add a non-admin user
    • The Frontend Homepage Layout
      • Exercise 1.2 - View the Site Frontend content
    • How to access the content management area
    • Overview of content management area
    • Content management - filters overview
      • Exercise 1.4 - Filtering Content
  • Unit 2: More about GovCMS
    • Content types overview
    • Overview of content create/edit form
    • Form fields and form widgets
    • Fields and properties
    • Structured content in GovCMS
    • Overview of Rich text editor
    • Embedding media files
    • Text format
    • Content references in GovCMS
  • UNIT 3: MANAGING CONTENT IN GOVCMS
    • Creating Content
      • Exercise 3.1 - Create some content
    • Editing content
      • Exercise 3.3 - Edit a piece of content
    • Archiving content
      • Exercise 3.4 - Archiving content
    • How content changes can affect the site
  • UNIT 4: MANAGING CONTENT REVISIONS
    • Managing content revisions
      • Exercise 4.1 - View revisions history
      • Exercise 4.2 - Revert a content revision
  • UNIT 5: CONTENT MODERATION IN GOVCMS
    • Content moderation in GovCMS
      • Exercise 5.1 - Content moderation
  • UNIT 6: Files and media assets
    • Managing files and media assets in GovCMS
    • Media library
      • Exercise 6.1 - Uploading and using media
      • Exercise 6.2 - Manage media - Bulk Operations
  • UNIT 7: MANAGING URL ALIASES AND REDIRECTS
    • URL aliases and redirects
      • Exercise 7.1 - Update a page's URL alias
      • Exercise 7.2 - Create a URL alias
      • Exercise 7.3 - Create a Redirect (advanced)
  • UNIT 8: META TAGS AND SEO
    • Meta tags and SEO
    • Tokens and default meta tags
      • Exercise 8.1 - Update meta tags of content
  • UNIT 9: USING TAXONOMY TO CATEGORIZE CONTENT AND MEDIA
    • Taxonomy and Vocabulary
    • Overview of Taxonomy form widgets
      • Exercise 9.1 - Add taxonomy terms
      • Exercise 9.2 - Add taxonomy to a Page
  • UNIT 10: MANAGING SITE NAVIGATIONS AND BREADCRUMBS
    • About site navigation
    • About breadcrumbs
    • Managing menu items
      • Exercise 10.1 - Add an item to a menu
  • UNIT 11: CAPTURING DATA WITH FORMS
    • Capturing data with forms
      • Exercise 11.1 - Create a basic Webform
    • Webform components
      • Exercise 11.2 - Attach a form to a Webform page
      • Exercise 11.3 - Create an event registration form
  • UNIT 12: ADVANCED CONTENT EDITING
    • Advanced content editing
    • Advanced - content bulk operations
      • Exercise 12.2 - Bulk operations - delete test content
  • Appendix A - Glossary
    • Glossary
  • About Salsa Digital
    • Who is Salsa Digital?
Powered by GitBook
On this page
  • Media types
  • Media library overview
  • Adding Media
  • Reusing media
  • Uploading media - Content form

Was this helpful?

Edit on GitHub
Export as PDF
  1. UNIT 6: Files and media assets

Media library

PreviousManaging files and media assets in GovCMSNextExercise 6.1 - Uploading and using media

Last updated 1 year ago

Was this helpful?

GovCMS provides a central media library, where all media assets, such as images, documents and other files are stored.

Depending on the type of media asset, a corresponding type of media should be used.

Media types

By default, GovCMS provides the following Media types:

  1. Audio

  2. File

  3. Image

  4. Remote Video

  5. Video

Each Media type can have various forms and display fields configured.

Media library overview

To access the Media Library, click on Content in the Admin menu then hover over Media and click on Media Library.

The main elements of the Media Library page and their functions are:

  1. Add media

  2. Table and Grid tabs. These allow switching between views of Media

  3. A search and filtering area

  4. A Media listing table that displays the Media entities matching the filtering criteria, or lists all Media entities if no filters are applied.

  5. Bulk operations

These elements are highlighted and numbered on the screenshots below.

The Add media button allows you to add new Media assets to the site.

The Filters allow you to filter and search the media library for an existing media asset.

The Bulk operations area allows you to implement bulk operations on multiple media assets. For example, you can use the checkboxes to select multiple media assets, then delete all selected media assets at by clicking the Apply to selected items button.

Adding Media

To add media to the Media Library, click the +Add media button at the top left of the Media Library page.

Note This can also be performed by clicking Content → Add media when currently not on the Media Library page.

This brings you to a page that lists all media types available on the site. Click the appropriate media type, for example Image.

Fill out all required fields. Providing some tags and a Revision log message can help manage large media libraries. Save the Media.

Reusing media

The main advantage of having the central media library is reusability - the same media asset can be included in multiple content pages.

Media assets that were uploaded to the site directly from content (such as by uploading an image into the Rich Text Editor) will appear in the central Media library and can be also reused on other pages on the site.

Uploading media - Content form

When creating or editing content via a content form (e.g. the Page form) the form includes an area to upload a thumbnail image.

When you click on the Add media button from the content form, an overlay window opens showing a list of available media to select from the media library.

Click on Select files to open a file browser, or drop files on the highlighted area.

Note The Files page is rarely used by users, and there is a proposal to remove this page from Drupal / GovCMS in future.

Image of accessing Media Library
Screenshot of the Media Library UI
Screenshot showing Bulk Media Actions
Image of accessing Add Media
Image of Add Media
Thumbnail Media upload form
Image upload widget