Answer:
Online images are subject to the same laws as images in other formats: they may only be used, copied, altered, distributed (uploaded), or displayed (posted) with permission of the copyright holder, which is most often the creator.
There are millions of photographs and other images that have been given a Creative Commons license by their creators, which allows many uses without getting further permission.