Moved photo upload to model

Can now add photos in edit page