added image upload ability to new_item function in controller