removed generated model.  updated table ids to IDENTITY columns.  image save works.
saves and shows images