locked
How to display image in app from firebase storage using image url. RRS feed

  • Question

  • User366227 posted

    How to display images in app from firebase storage using image url. it is not displaying image from image url.

    Wednesday, November 13, 2019 7:16 AM

Answers

  • User379860 posted

    Please try to use this plugin If you want to show image by url https://github.com/luberda-molinet/FFImageLoading

    In the xaml, you can use following code.

    <ContentPage.Content>
        <ffimageloading:CachedImage HorizontalOptions="Center" VerticalOptions="Center"
            WidthRequest="300" HeightRequest="300"
            DownsampleToViewSize="true"
            Source = "http://loremflickr.com/600/600/nature?filename=simple.jpg">
        </ffimageloading:CachedImage>
    </ContentPage.Content>
    

    Here is a guide, when you use this plugin. https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, November 13, 2019 8:25 AM

All replies

  • User379860 posted

    Please try to use this plugin If you want to show image by url https://github.com/luberda-molinet/FFImageLoading

    In the xaml, you can use following code.

    <ContentPage.Content>
        <ffimageloading:CachedImage HorizontalOptions="Center" VerticalOptions="Center"
            WidthRequest="300" HeightRequest="300"
            DownsampleToViewSize="true"
            Source = "http://loremflickr.com/600/600/nature?filename=simple.jpg">
        </ffimageloading:CachedImage>
    </ContentPage.Content>
    

    Here is a guide, when you use this plugin. https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, November 13, 2019 8:25 AM
  • User366227 posted

    Thank you @LeonLu its working perfectly

    Thursday, November 14, 2019 7:05 AM