working photo upload to tng