I'm experiencing an issue similar to yours but don't have anything on the file system of the server.
Here's a screenshot of part of a ticket in our system. I was able to paste images directly in the text box.
I pasted several images into the ticket and then when the customer responded, I went back into the ticket and saw links to download or to view the image. I figured IT Flow took the pasted images, created an image file, and then persisted the image files to disk.
When I click on the "View" link, it shows me:
I removed the real url because the domain name doesn't matter for my point, but when hovering over the hyperlink it shows the url to be: https://itflow.domain.com/uploads/tickets/13/8152366fe40d2db70993f0d562d69f7c.png
If I check directly on the server, this is the tickets directory:
There are no subfolders within the "tickets" directory (this is the first time I pasted an image into a ticket). I checked the permissions for the root folder of IT Flow and all subfolders, it's not an incorrect permissions issue on the server side.
Then I thought to myself, if the link to the picture isn't valid, how is it still displaying it on the page? So, I started up Developer Tools and noticed something. (The red line just has text that was added to the ticket and has customer related information. It has no value towards what I'm trying to show/explain here).
It seems that if I paste an image into the TinyMCE editor box on any ticket edit page (/ticket.php?ticket_id=XX) and click on Submit, the image is encoded to base64 binary and then that value is being persisted to the database and an image file is not being persisted to disk.
Lastly, I'm running php8.2-fpm with Apache on a fully updated Ubuntu server.
And I want to thank @johnny and @wrongecho for being as active as they are in the forum. You guys have been crazy helpful. And thank you to everyone contributing to this project! You guys are awesome!