Image style class attribute function added