We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d2f4af commit 888d4eaCopy full SHA for 888d4ea
demo/src/app/tab1/tab1.page.ts
@@ -89,7 +89,9 @@ export class Tab1Page {
89
const generatedKeys = this.generateUniqueIds(uris.length);
90
console.log(uris);
91
uris.forEach((uri, i) => {
92
- this.imageUris.set(generatedKeys[i], uri);
+ const pathSplit = uri.split('/');
93
+ const dir = 'file://' + pathSplit.join('/');
94
+ this.imageUris.set(generatedKeys[i], dir);
95
});
96
97
const data = await Promise.all(uris.map((uri) => {
0 commit comments