Fix local file upload and modify css of works index thumbnail view.