Miranda, I would say both. If you know who the phot your friend gave you came from.mi would try to reach out to them to see if they mind you using their ideas. And where ever you post the picture you should give a nod to them as well.
Jennifer, https://www.facebook.com/PrimaCakesandCookies