Updating code to display social images if available.