An open textbook is rarely licensed as one uniform block. The prose may be CC BY 4.0 while a photograph comes from Wikimedia Commons under CC BY-SA, a chart is CC0, and one diagram is used with a publisher's written permission that does not extend to anyone else. This tutorial is for authors and adapters who already know the licence elements and want a reliable way to handle that mix so that the book's licence statement stays truthful. It explains common practice, not law; for a specific decision consult the legal code on creativecommons.org and your copyright librarian.
The usual approach is a licence statement with a carve-out: "Except where otherwise noted, this book is licensed under CC BY 4.0." That phrase does real work. It tells a reuser that the default is CC BY, and warns them that some items carry their own terms. The statement is only honest if every exception actually is noted, which is why the rest of this tutorial is about bookkeeping. Without the carve-out, a reader could reasonably assume a permission-only image is CC BY and reuse it, which would put them in breach of someone else's rights.
Make a figure register, a simple spreadsheet with one row per image, before the book goes into layout. Columns that pay off:
The category decides what happens next. Images under the book's own licence just need a credit. Images under a different open licence need a credit that names that licence. CC0 items need no credit by law, though giving one is good practice. Permission-only items need a clear "used with permission; not covered by this book's licence" line, and adapters should be warned in the front matter that they may need to remove or replace them.
A photograph placed beside text, with its own credit, is normally treated as a separate item in a collection rather than an adaptation of the text, so a CC BY-SA photo can sit in a CC BY book provided its own licence is named. The picture changes if you modify the image itself, for example by drawing new labels onto a CC BY-SA diagram: the modified diagram is an adaptation and must be shared under BY-SA or a licence listed as compatible. ND images can be included unchanged but not cropped or relabelled and shared. NC images restrict the whole book's commercial print options, which is often a reason to replace them.
Put the credit directly under the figure or in a numbered list of credits at the end of the chapter. Under the figure is easiest for readers and for later adapters who copy one image. A worked, illustrative example: "Figure 3.2. Cell diagram by Author B, from Wikimedia Commons, CC BY-SA 4.0. Labels added." If you prefer an end-of-chapter list, keep the figure numbers identical in both places and recheck them after every reflow.
Before publishing, run one last pass that compares the register to the finished file, figure by figure. The tutorial on disclosing changes covers the "labels added" part in more depth, and the guide to Wikimedia Commons media explains how to read a Commons file page before you add it to the register.