facebook / fresco

An Android library for managing images and the memory they use.
https://frescolib.org/
MIT License
17.08k stars 3.75k forks source link

https Image #1227

Closed myxfeng closed 8 years ago

myxfeng commented 8 years ago

https imgae

_don't support https imgae _

kirwan commented 8 years ago

Fresco does support HTTPS images.

We would need more information to be able to help here.

If your image is failing to load, look at LogCat to see what error is shown. It could be a certificate problem.

myxfeng commented 8 years ago

expmple : https://community.apicloud.com/bbs/data/attachment/forum/201602/01/191807lkn96kh86ezfxk8h.jpg

What does Fresco need to configure for HTTPS imgaes ?

kirwan commented 8 years ago

I just put that URL into the Uri sample app included in Fresco and the image appeared. That app doesn't have anything unusual setup for Fresco.

One thing which may help you debug is to add logging and look at the output.

Try this and look at Logcat.

Set<RequestListener> listeners = new HashSet<>();
listeners.add(new RequestLoggingListener());
ImagePipelineConfig config = ImagePipelineConfig.newBuilder(this)
    .setRequestListeners(listeners)
    .build();
myxfeng commented 8 years ago

I find the reasons is because the open Fiddler Web Debugger causes the image did not appeared,

image can be appeared with 4G network

final my english is bad , thanks your help !!!