Upload photo with progress bar working in photos/index