Changing photos for other users in Yahoo! Contacts
It is not possible for a user to assign or modify photos for someone else's account in Yahoo! Contacts. Yahoo! allows each user to control the photo that they display for their own account. If someone has their account set to display a photo, then that is the photo that you will see for that user in Yahoo! Contacts.