Finally I fix the problem
I keep tracking every where in my code and start to comment my code parts step by step.
I was using upload form and also get image from link, and that was the main problem a conflict between uploading using upload form and using image link
So when I comment the function which I’m using to upload image from PC the code work perfectly