diff --git a/src/addons/mod/data/fields/picture/component/picture.ts b/src/addons/mod/data/fields/picture/component/picture.ts index 804b4b9f5..ef9f58e50 100644 --- a/src/addons/mod/data/fields/picture/component/picture.ts +++ b/src/addons/mod/data/fields/picture/component/picture.ts @@ -130,7 +130,7 @@ export class AddonModDataFieldPictureComponent extends AddonModDataFieldPluginBa setTimeout(() => { if (this.image) { this.imageUrl = 'name' in this.image - ? CoreFile.getFileEntryURL(this.image) // Is Offline. + ? CoreFile.convertFileSrc(CoreFile.getFileEntryURL(this.image)) // Is Offline. : CoreFileHelper.getFileUrl(this.image); } }, 1);