stormlion227 / PhotoBrowser.Forms

Full screen image viewer(Xamarin.Forms) that includes "pinch to zoom" and "swipe to dismiss" gestures.
MIT License
76 stars 47 forks source link

Using local images #1

Closed dentonsavage closed 6 years ago

dentonsavage commented 6 years ago

How can I use local images?

Code snippet: new Photo { URL = "music.jpg", Title = "Korben" },

stormlion227 commented 6 years ago

I'll add the feature in few days.

soile1991 commented 6 years ago

You can let us load an image from stream or byte array to be able to load saved on device storage / cache.

dentonsavage commented 6 years ago

I updated the code as follows and it works.

Code snippet: new Photo { URL = "file:///user/images/music.jpg", Title = "Korben" },

and that works.


How can I use local images?

Code snippet: new Photo { URL = "music.jpg", Title = "Korben" },

armaganX commented 5 years ago

thank you @dentonsavage