xamarinxamarin.formsffimageloading

After installing FFImageLoading images don't show at all


My Xamarin Forms 5 app will allow users to upload their own images which can be large. I noticed that large images were taking a long time to show so I installed FFImageLoading and followed the instructions on their Github page at https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API.

Specifically, I installed the following packages:

I also initialized it as follows:

I first tried it without changing anything in my XAML files, meaning I used the regular Image control and images would NOT show at all.

I then tried the following and I see NOTHING at all:

...
xmlns:ffil="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"
...
<ffil:CachedImage
   Source="{Binding FileUrl}"
   DownsampleWidth="150"
   DownsampleToViewSize="True"/>

IMPORTANT:

I also want to mention that the images are displayed within CollectionView controls AND in all cases, their source is a URL and NOT a local path.

Any idea what maybe the issue here and how to fix it?


Solution

  • As I'm aware FFImageLoading is not maintained anymore. A lot of apps are still using the package but keep in mind that reported open issues will most likely not be fixed. It is sad because this is one of the most popular packages for Xamarin Forms, but it looks like we will have to start looking for alternatives.

    Good luck with this.