There is no "before that", not on the internet. Stock photography as a business is more than a century old, and we were using it on the internet as soon as you could put an IMG tag in a page.
Lazy use of stock imagery is a problem.