Wikimedia Commons
There are also lists of historical flags and military flag galleries. Many of the flag images are on Wikimedia Commons.