fix image syntax. add class syntax to images