create image model and get form working