Copyright is thorny and gray. I learned a lot doing a book with many quotes to make money (as opposed to research in academia). I used only public domain photos and licensed my cover photo from a rights management firm so hopefully the widow of the photog gets a couple bucks. "The worker deserves her wages."
As for this Trek book:
Someone wondered about the publisher. Almost always the author retains copyright and is also liable for any infringement issues. Publishers are bare bones nowadays. You must show your publisher that you
have gotten permission or secured the rights to items you're using. Quotes if not lengthy are ok in nonfiction to enlighten the public, but photos (except in journalism/criticism) must be licensed, or borrowed with permission. Song lyrics are never quoted without permission.
I by no means
condone what the author did if he ripped the images off of TrekHistory. I wonder: Who owns the copyrights on those images? The corporation that now owns televised Trek? They were discarded (there are court cases about forfeiting ownership rights when discarding something); and never published. Copyright protection begins from the date first made accessible to the public. My hunch is that TrekHistory is in no position to do anything legally (IF indeed the author took those images as people think).
This is why there are copyright attorneys.