Liquid tags added to get image title and class. All sanitized