edit view main page and upload img