Forum Discussion
blastoffmax
Sep 03, 2019Copper Contributor
Images uploaded through teams convert to PNG's upon download
Hi all, I'm having an issue on teams, where images uploaded from a mobile phone (.jpg's) download on a computer as .png 's . When I open them in Photoshop I get the error that's attached. I've...
- Sep 03, 2019That's odd. Seems like a bug to me. I would submit a support ticket.
As a work around, since Teams is attached to SharePoint libraries you can use the OneDrive App to upload your photos. You can quickly take photos as well using the app where you can upload them to a channel folder for access into Teams.
akurov
Feb 01, 2023Copper Contributor
This is a bug. This is against JPEG and PNG formats, because you cannot have JPEG content inside .png file.
This fails our content-based image validation in our web app, because file content does not meet file extension. This is security issue for us.
This fails our content-based image validation in our web app, because file content does not meet file extension. This is security issue for us.
McGern
Oct 11, 2023Copper Contributor
akurov ended up here for the same reason. Our tester was using jpg images from his phone transferred via teams, and the tests were failing because the file extension (png) matched the acceptance criteria, but the validation was actually doing what it was meant to be doing and failing files with extensions that don't match the byte signature. Caused a bit of confusion for a bit until I found this post - now just need to explain it all to the client....