Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No ability to use local images #6

Open
Esam-Hossam opened this issue Jun 19, 2018 · 4 comments
Open

No ability to use local images #6

Esam-Hossam opened this issue Jun 19, 2018 · 4 comments

Comments

@Esam-Hossam
Copy link

Esam-Hossam commented Jun 19, 2018

It seems I'm unable to use local images instead of web images, it only accepts absolute web path and I can't find any way to view Images stored in my project

@candidodmv
Copy link

I think that you are using relative path, and appears that plugin requires specify absolute. check out this reference to try out create absolute path.
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/files?tabs=vswin
good luck

@SirLanceLang
Copy link

Even though using File.GetFullPath(fileName) doesnt work with local files.

@umerfarooqy
Copy link

Hi i fixed this issue
Please use following edited package
https://www.nuget.org/packages/PhotoBrowser_Edited.Forms/
Regards

@cocoon
Copy link

cocoon commented Aug 31, 2020

Official PhotoBrowser

For me the old official PhotoBrowser is working with local images like this:

file:///mnt/sdcard/Download/images/123.JPG

PhotoBrowser_Edited.Forms

The "PhotoBrowser_Edited.Forms" works with

/mnt/sdcard/Download/images/123.JPG

Problems with PhotoBrowser_Edited.Forms
BUT it has one problem for me, it creates always new images in the Path "sdcard/Pictures/"
with a name like "alconFrescoimagevi(somenumber).xyz".

And then at a point it stops working to load images at all, because it cannot create new ones.
One workaround would be to use a timestampt in the filename.

But it is not deleting the files afterwards, so I don't know if there would be a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants