It's not illegal, but some laws govern how you can use someone else's photos that you download from the Internet. The best way to avoid any problems is to simply keep the pictures for your personal use without sharing them.