install model now inserts images into db upon reset
first step to ajax image request