I made my own rest api and now it just has endpoint where I show some images. Here how it looks in spring boot application
@GetMapping(\"/image/{name:.+}\")
in my case i just put my link inside string variable
String link = "http://myipaddress/api/image/myimage.jpg"; Glide.with(context).load(link).into(img);
and problem solve!