adding coffeescript def
working on image attribs