Attributing one image is easy. Attributing everything in a course, consistently, across slides, handouts, a reading pack and a few videos, is a project. This toolkit gathers the pages on this site that help with that job, in the order you are likely to need them, with a line on what each does. Work through it once for a course and the next course takes a fraction of the effort.

Attribution done item by item, as each slide is made, tends to drift: one deck says "CC BY 4.0", the next says "Creative Commons", a third has no credit at all because the image was added in a hurry. Students notice the inconsistency, and so does anyone who later adapts your materials. Doing the job once for a whole course, with one format and one log, turns attribution from a recurring worry into a routine.
The licences themselves are on creativecommons.org, where each deed links to its full legal code. For questions about a particular item, your institution's copyright librarian is the right person to ask; this toolkit explains common practice and is not legal advice.