PHP PNG images are being uploaded with mime “image/jpeg” on KCFINDER 3.12
At this point, I'm very confused for something an image called this-thing.png (created as PNG24 out of photoshop CS5 ), gets uploaded to kcfinder as image/jpeg . Analyzed with TriID , shows the image is completely 100% PNG C:\TrID>trid C:\users\michael\downloads\this-thing.png TrID/32 - File Identifier v2.20 - (C) 2003-15 By M.Pontello Definitions found: 3790 Analyzing... Collecting data from file: C:\users\michael\downloads\this-thing.png 100.0% (.PNG) Portable Network Graphics (16000/1) But when the variable data within $_FILES[(key($_FILES)]['tmp_name'] , reaches kcfinder\core\class\browser