If you have a produced a new painting with a number of these pictures painted in to this new painting, then the new painting itself will have its own copyrght (Copyrights Design and Patents Act 1988. Essentially you will be producing a new work.
Copyright law is designed to stop people from taking another's work and passing it off as their own work. As the author of the new work you have the moral and legal right to prevent derogatory treatment to the work. Using a picture as an one of a number of inspirations/sources to produce a new piece of art in its own right would not amount to derogatory treatment and therefore you would be very unlikely to have infringed the copyright owners rights.
If you have found this useful please kindly click accept so that I may be rewarded for my efforts. It will be gratefully received and you will be free to ask further questions.
Both the photographs and your have their own copyright and therefore both copyright owners (you and the photographer) have the right to prevent derogatory treatment.
Were some crazy far-right racist group to use the picture (or your painting) on their website then this would be derogatory treatment for example.
A court would ultimately decide if a particular act constitutes derogatory treatment, an alleged infringer would probably be contacted by the copyright owner before a case was issued.
I hope this makes things a little clearer you, if so please kindly click accept.
DISCLAIMER: Answers from Experts on JustAnswer are not substitutes for the advice of an attorney. JustAnswer is a public forum and questions and responses are not private or confidential or protected by the attorney-client privilege. The Expert above is not your attorney, and the response above is not legal advice. You should not read this response to propose specific action or address specific circumstances, but only to give you a sense of general principles of law that might affect the situation you describe. Application of these general principles to particular circumstances must be done by a lawyer who has spoken with you in confidence, learned all relevant information, and explored various options. Before acting on these general principles, you should hire a lawyer licensed to practice law in the jurisdiction to which your question pertains.
The responses above are from individual Experts, not JustAnswer. The site and services are provided “as is”. To view the verified credential of an Expert, click on the “Verified” symbol in the Expert’s profile. This site is not for emergency questions which should be directed immediately by telephone or in-person to qualified professionals. Please carefully read the Terms of Service (last updated February 8, 2012).