Image path on my PC is fine but not on another

Here’s one approach, but it uses a file picker.
Otherwise you could use fs.getPluginFolder() and extract the username from the nativePath.