Finish front end directive for upload image