I am pretty sure that all my function are working since I test it on my local computer.
But for some reason, it doesn't work on prod server.
Is there any other way to upload the image? or if its possible I can test it on prod server?
PS: I have really limited permission on prod server, its just like a Hosting with SSH access only. can't do anything and for some reason we have to use this server not change to some other one.