If I am using images with a copyleft license (e.g. [CC-BY-SA](https://creativecommons.org/licenses/by-sa/3.0/us/)), each of them as a separate, properly attributed piece, does it mean that the whole work (be it slides, a thesis or a book) need to be licensed in the same way?

Reasoning 1
-----------

This work uses images, so it's a derivative work and it needs to bear the same license.

Reasoning 2
-----------

This work is a collection. So, as long as I keep the images separate, and properly attributed/licensed, they do not affect the collection license.

Practical implications
----------------------

* Using Wikipedia images in a presentation - does it mean that it need to be released as CC-BY-SA?
* Is it possible to use images from two non-compatible copyleft licenses (e.g. CC-BY-SA and GPL) in a single book?

Comment: My question is on what is *legal* according to these licenses, not what "won't put me in jail" or what can be waived by the law of a particular country.