added validation & imageMagick to Image model