added classes to images