Images altered/broken in process of uploading
Closed this issue · 1 comments
Everything I've tried on this app is working brilliantly with no issues...except the image uploading. This is kind of a problem!
Going into the shell, I couldn't figure out what the issue was - the images are in the proper place, and they're the same size. So I downloaded a file, compared it to the original, and...
See the problem? The copy from the server is on the left - four bytes have been added to it at the very beginning, specifically the bytes 20202020
, that is, the ASCII code for 'space'. The original is on the right, and doesn't have those four extra bytes, but the data is otherwise identical. It's clearly being altered somewhere in transit. I tried using ImageMagick instead, but no dice, so it's probably on the YunoHost configuration end - although I don't even know what log to look at.
I haven't had problems installing plugins or themes, it's only been uploading images. I can work around it, but that's still less than ideal.
Issue unrelated, was due to a malformed plugin PHP string. Issue been reported upstream.