added photo data to bar upload