[Fixed]-[android][python] open image from absolute path in localhost

1👍

No, of course the client can’t load a file on the server via its file path. And you definitely shouldn’t write a function that serves arbitrary files via their path; think of the potential security implications (what if someone requests your settings file with your db credentials, for example).

You shouldn’t be sending a file path in the response at all; instead, your JSON needs to include a URL that serves the file.

0👍

as i know you should pass full image url to your loader like Glide or Picasso or Volley.

👤Setmax

Leave a comment