Added ifs for image tags and changed "name" to "property" for FB tags