You can't really use the following:
define("ROOT_PATH", "/home/username/public_html/");
since it will try to load
http://website.com/home/username/public_html/image.png
which you don't really want.
Using
define("ROOT_PATH", "http://website.com/");
will try to fetch
http://website.com/image.png
which is what you want.