capacitor-community / photoviewer

PhotoViewer table images with fullscreen and sharing capabilities
MIT License
49 stars 12 forks source link

dataUrl is not working #24

Closed Elardzhi closed 1 year ago

Elardzhi commented 1 year ago

Showing images using dataUrl (base64 string) is not working in versions 2.0.3 and 2.0.2. Had to downgrade to 2.0.1 where it works fine.

jepiqueau commented 1 year ago

@Elardzhi Can you provide me an http link to a base64 image, I never test base64 images and it is not mentioned anywhere in the doc that you can use them so it is pretty interesting that these images were displayed in 2.0.1

Elardzhi commented 1 year ago

Your readme.md says: "A picture can be acessed by image web url, base64 data or from internal device for iOS and Android."

And your demo app vite-react-photoviewer-app has base64Images example

jepiqueau commented 1 year ago

@Elardzhi you right i forgot about this it will be back on the next release as well as urls starting with capacitor://localhost/_capacitorfile/. This as required much more work on the code that forseen. Sorry for the disturbance in your work.

jepiqueau commented 1 year ago

@Elardzhi fix in 2.04