I looked at the profiles of a few people who I'm not friends with. I could view their profile photo in all cases (i.e. I could click on it and see the "large version" of it). On some of them, I could "like" the photo. On others, I couldn't - the link to "like" it just wasn't there.
What setting controls this?