Enhance Content

29 Images and Files

Last update: Jun 30/22

Pressbooks allows you to upload and insert many different types of files and media into your book. When uploading media into Pressbooks, note the following:

  • The maximum file size that you can upload in the BCcampus Pressbooks instance is 48 MB. (Note that this upload-size limit is different from the import-size limit, which is much larger.)
  • To give a reader access to a file without leaving Pressbooks, then upload the file to the Media Library before inserting it into the book. The file cannot be embedded into the book by linking to an external source.
  • Embedded images must be one of the following: JPG, PNG, or GIF.
  • File types that will not embed—such as PDFs, Word files, or PowerPoint slides—can still be provided. Instead of using an embedded image, readers can download these file types from the book through a hyperlink.
"" See the following chapters in the Pressbooks User Guide:

Accessible images

For more information, see Images in the Accessibility Toolkit.

Optimize images for web and print

If your goal is to produce a book for both web and print delivery, image set up and placement must be considered. It is recommended that all images are centred and that image size is no more than 500 pixels wide and 600 pixels high.

Using a larger image can potentially push it to another page in the PDF—sometimes several pages away from its webbook position. One solution for this problem is to add page breaks to key spots in the book.

"" See Create Section and Page Breaks in PDF Exports in the Pressbooks User Guide.

Some authors choose to create a separate version, PDF, or other file type or different system such as InDesign, for print so that text and image layout for the web version can be more creative without having to take into account constraints needed for print.

Image attributions

For a comprehensive discussion attribution, see Resources: Captions and Attributions in the Self-Publishing Guide.
"" See Adding details to your media in the Pressbooks User Guide.

 

Image captions

For a comprehensive discussion on caption styling, see Resources: Captions and Attributions in the Self-Publishing Guide.

Upload files to a book

In a book, you can link to files hosted the Pressbooks Media Library so people reading the book can access those files. This feature may be useful if you want to share files that will not display directly in Pressbooks, like PDFs, Excel spreadsheets, or PowerPoint slides.

To add a link to a file in a book in Pressbooks, follow the following steps:

  1. Click “Add Media” at the top of the Visual Editor in Pressbooks.
  2. Select the Upload Files tab and select the file you want to upload.
  3. Click “Insert into chapter.”
  4. The link text can be edited, as is typical with any hyperlink.

License

Icon for the Creative Commons Attribution 4.0 International License

Pressbooks Guide Copyright © 2016-2022 by OER Production Team is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book