preface

Glide load cloud image address. JPG format in the browser can be displayed in the APP can not be displayed

When the server side synchronizes the cloud commodity picture, the picture address is directly returned to the mobile end for use!

For example: I received address is tmaster.jekjk.com/upLoadFile/1566177715000.441.jpg

Copy to the browser to open the image

Why can’t I open it in the APP?

The problem was solved in 5 minutes

Turned out to be the default browser added prefix to us at http://tmaster.jekjk.com/upLoadFile/1566177715000.441.jpg

Add a prefix to the return value in the get method.

  public String getLogo() {
            return "http://" + logo;
        }
Copy the code

conclusion

Don’t panic when you encounter problems, want to see more I am also in the browser copy address to see after the discovery of this problem so simple!