I found CORS Problem in your library. While uploading Avtar image there wasn`t problem. so when i was uploading photo from list of photo i had saved from gallary then CORS problem aries.. i had shown error message below what i got..
Make sure the server response of the image has the header Access-Control-Allow-Originset to *, otherwise it means the resource can not be accessed from other origins.
I found CORS Problem in your library. While uploading Avtar image there wasn`t problem. so when i was uploading photo from list of photo i had saved from gallary then CORS problem aries.. i had shown error message below what i got..
Access to Image at 'http://xx.xxx.xxx.xxx:8000/media/gallery/travelBus_F0ck4Gd.png' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.
Sorry that i cannot show my real server ip for security reason. so x denote server ip. so how can i solve these issue ?