complete core function in upload gall and other photo
pull master
pull master