updated Form.php and created imagemagick()