Enhance Content
29 Images and Files
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
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
See Adding details to your media in the Pressbooks User Guide.
|
Image captions
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:
- Click “Add Media” at the top of the Visual Editor in Pressbooks.
- Select the Upload Files tab and select the file you want to upload.
- Click “Insert into chapter.”
- The link text can be edited, as is typical with any hyperlink.