You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my company we had big struggles because we wanted to show <img src={"path/in/appdata/image.png"} /> it took incredibly a lot of effort to find the way how to do it. With some previous discussions on discord for my windows app we were able to patch some working code.
The magic how we found solution:
if I wasn't asking this on discord long time ago my colleague would never find in documentation convertFileSrc
after finding the function, we could not find proper security settings, we digged it from some forum.
Please add functionality convertFileSrc and example here:
It's quite logic, when I work with file system I want to show maybe some image related to data. Also some libs work with url path where I can't do readFile()
Uh oh!
There was an error while loading. Please reload this page.
Hi,
in my company we had big struggles because we wanted to show <img src={"path/in/appdata/image.png"} /> it took incredibly a lot of effort to find the way how to do it. With some previous discussions on discord for my windows app we were able to patch some working code.
The magic how we found solution:
Please add functionality convertFileSrc and example here:
https://v2.tauri.app/plugin/file-system/
It's quite logic, when I work with file system I want to show maybe some image related to data. Also some libs work with url path where I can't do readFile()
Also in https://v2.tauri.app/reference/javascript/api/namespacecore/#convertfilesrc I can't see tauri.config which enables getting the file....
The text was updated successfully, but these errors were encountered: