In this one they're both possessive... so to avoid looking unprofessional it would be:
friends' phones' background images
And on the web site, photos is not possessive, so it would be spelled: photos
friends' phones' background images
And on the web site, photos is not possessive, so it would be spelled: photos