From the TurboTax FAQ: You can't snap a photo of your W-2 in TurboTax Online, nor can you upload a photo you took with your device's camera.
However, you can take a picture via the mobile app, which will then upload to TurboTax Online. Here's how: https://ttlc.intuit.com/replies/4875306.