img views and routes, uploading keeps record in db