The images people share on social media — photos of favorite products and places, or of themselves at bars, sporting events and weddings — could be valuable to marketers assessing their customers’ “top-of-mind” attitudes toward a brand. Researchers have taken a first step toward this capability in a new study in which they analyzed five million such images.