Best way to upload Images to a plugin/theme?

As for plugins, hard assets (ones not modifiable by admin config) will have a clear URL.

You can reference the Discourse Math plugin initializers:

Assets in /public directory will be available under the plugin name. These assets are called directly without needing to be registered in plugin.rb.