"I like this picture."
Translation:Ich mag dieses Bild.
Foto is definitely a photograph taken by a camera. Bild usually refers to photo, too . But a 'Bild' can also be drawn like a portrait.
A cat is an animal, but not all animals are cats. A photo is a picture, but not all pictures are photos.