Google Chrome extension relative path

Viewed 24019

I'm developing a google chrome extension and I'm running into a relative path problem. If I give a relative path to an image and open the plugin in a certain page it will look for that image in the website's path rather than the extension's.

Any ideas?

3 Answers
Related