Piasy / BigImageViewer

Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻
MIT License
3.98k stars 400 forks source link

关于使用代理加载图片的问题 #240

Open lr555 opened 1 year ago

lr555 commented 1 year ago

你好,我在使用BigImageViewer加载图片的时候,有些图片需要通过代理下载。 原始图片链接类似https://xxx.png,通过代理加载图片的链接类似于https://img.proxy.com?url=https://xxx.png, 但是使用代理加载图片,进度条无法正常显示。看了一下,应该是GlideImageLoadergetRawKey,对于通过代理加载图片的链接,得到的key都是https://img.proxy.com,导致代码里以为图片缓存了,不显示进度条。 请问有什么方法可以直接解决这个问题吗?

Piasy commented 1 year ago

既然你都查到问题了,应该也能想到解决方案了吧,欢迎提交 PR