insert loading on upload photo