Add auto image size creation and correct path of models