Do Images get corrupted in OJS 3.1.2-4?

This worked fine in OJS 3.1.1-4, images where shown probperly. But now, in OJS 3.1.2-4, the images cannot be loaded anymore. My colleague found out, that OJS inserts a newline in the beginning of the image file binary in OJS 3.1.2-4, which it did not in OJS 3.1.1-4.

Is this my fault or a bug?



Hi @GrazingScientist,

It looks like there’s a problem with extra whitespace at the end of one of the PHP files. See this issue and pull request: Fix whitespace problem with binaries (images) · Issue #8 · ajnyga/embedGalley · GitHub

Alec Smecher
Public Knowledge Project Team

1 Like

Solved the issue at least partly. For the rest, I have to investigate further and perhaps write again!

Thank you, Alec!

1 Like