بسم الله الرحمن الرحيم
الحد لله, Allāh has granted me tawfīq to donate to Wikipedia. I wouldn’t mention this except for the fact that I hope others, upon reading this, might give it consideration when they otherwise would not have. A donation to Wikipedia is tax-deductible, so you can save on your taxes or get more back on them (depending on your situation). Ultimately, though, the reason why projects like Wikipedia and related Wikimedia Foundation projects should be supported are as I described in my comment upon donating:
Wikipedia and its related projects represent an ideal world where knowledge & information are not controlled to give power only to the few, but rather, they empower the many, ultimately benefiting the world as a whole.
So, if you have the ability, then I strongly encourage you to take the time out to donate to help support Wikipedia and its sister sites.
Why did you donate to a site that hosts images of the Prophet Muhammad (S.A.W.)?
What you did was completely wrong…
Brother, there is worse on that site than what you have described. Having said that, I did not really find images like you said, but there are some paintings that people claim are drawings of them (mostly from Muslim sources, sadly). But that is a very, very small portion of what the Wikimedia Foundation does, and there is an enormous amount of benefit to what they do in providing free knowledge and information. We disagree with the things that go against the Shareeʿah very strongly, but that does not mean we cannot still take the benefit from them. I am supporting WF in the things that they do that are beneficial to everyone. But do not delude yourself into thinking that there’s anything perfect or free from mistakes or faults in this dunya.