vimo When you upload a photo, upload/assets/files/ is added to your file path, but on my end, it appears as assets/files/
I did some testing and found that when I entered https://flarum1.huseyinfiliz.com into the Local storage settings of the FoF Upload extension (without a trailing slash), the URL was generated without the extra upload directory. I suspect the issue stems from this upload prefix being added to the URL.
Could you try entering your siteβs URL in that setting without the / at the end and see if the 'upload' directory still appears in the link?
As I mentioned, the photo upload feature is not part of my extension. Everything, including the upload button, belongs to the FoF Upload extension. I have no control over its logic. I believe this issue can only be resolved through the FoF Upload settings.