Adding attr_accessor for image
Removing attr_accessor