Where do Wallpaper apps get there images from?

I want to create a wallpaper app, I was wondering where do they get their images from? Do they buy them online? Use Google?

Please help:D

They usually get it on flicker and other site. be sure to put credits like author name and link where you get it.

I think they got it from google image. Modify it a bit to avoid copyright issue