38

Pressbooks

Pressbooks allows you to incorporate different types of media into your webbook, including images, audio, video, documents, and more! The Media menu allows you to add new media in bulk, edit your media, and add important information like titles, captions, and alt text.

In this chapter, we will cover:

Adding media to your Library

If you plan on adding media to your Pressbooks book, an easy way to make sure you can include media into chapters as you write is to upload attachments to the media Library in advance. You can access the Library and upload attachments by clicking Media in the left sidebar menu.

The media library showing the Add New butttons

To upload attachments to your Media Library, click Add New, found either in the left hand side bar below Media or with the red button within the Media Library. You can either click to select specific files or drag and drop to upload them to your Library.

Note: Please note that the maximum upload size for a single attachment is 25 MB.

After upload, your attachments will appear in your Library. The toolbar at the top of your library allows you to quickly find attachments you have uploaded by type (by clicking the All Media Types dropdown menu), by date added (by clicking the All Dates dropdown menu), or by using the search bar on the right side to search by title, caption, or any other details you have included with your attachments.

Adding media details and editing your media

Selecting any media in your Library allows you to add important details to your attachment as well as editing them. Clicking on an attachment will bring up the Attachment Details menu.

The interface of the attachment details menu

Adding details to attachments

The right side of the Attachment details menu includes fillable fields to include more information about the media. This includes a title, caption, and description field.

We also recommend including Alternative Text descriptions (also known as alt text) to all of your media attachments to improve the accessibility of your book. Alt text is useful for users that are visually impaired and using screen readers, allowing them to understand the content of a media attachment.

If you are using media that you did not create yourself, there are also fields available to include attribution for the media, including a source URL, author details, and licensing information.

Editing attachments

You can edit some aspects of your attachments directly within your media Library. You can do so by selecting an attachment within your Library to open the Attachment details menu and selecting Edit Image, found below the preview of your media.

You can perform edits like cropping, rotating, or flipping your media as well as changing the scale or aspect ratio. Once you are satisfied with any edits, click Save to return to the Attachment details menu.

The interface of the Edit attachment menu

Deleting items

Deleting a single attachment

To delete a single attachment, select it in the media Library to bring up the Attachment details menu. Scroll to the bottom of the right side menu and click Delete permanently.

Deleting multiple attachments

To delete multiple attachments at once, click Bulk Select in the toolbar of the media Library. You can now select one or many attachments you wish to delete, then click Delete permanently.

License

Icon for the Creative Commons Attribution 4.0 International License

Designing and Developing Inclusive Open Textbooks Copyright © 2023 by Pressbooks is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book