I have installed OSTicket v1.9.12 two-three years back. It is working fine except image attachments. Initially attachments were saved in MySQL but as tickets started growing, the system became bit slow and I configured and enabled "Attachments on the filesystem" plugin.
It was working fine until few days back. But suddenly attachments stopped showing correctly and I started digging the issue and found that images were getting stored correctly on the OSTicket filesystem (Windows).
But when somebody tries to see attachment in browser it is throwing an error "cannot be displayed because it contains errors". Then I downloaded one such problematic image attachment and opened it text editor. I observed that there is LF (Line Feed) character at the beginning of every image attachment such as jpg, png or gif.
If I remove this LF from downloaded file the image look good again.
Does anybody came across with such problem in OSTicket or any other system? Does anybody have any solution for this issue? Thank you.