After I’ve faced this problem I started to use AWS-S3 Provider and it worked just fine but here is the problem: when I upload any media (Locally or on the Server) I see this

but when I access the photo from the url it works just fine so the problem in the preview how can I solve this?