Update view.php

Add image upload