This is copyright, not patent
Of course copyright is also protected
It depends on the usage of your website. Sometimes others may sue you.
There is a premise that if you use widely used pictures, there will be no problem than those used in textbooks. If it is a professional book, such as photography, you need to get authorization from the author. But there is basically no cost in this regard, and coordination is required