[eluser]Colin Williams[/eluser]
In my experience, hardcoding paths in ANY way is a bad practice, which is why all frameworks have some function to abstract paths. CI's is site_url(), and so that's what I recommend.
In the absence of any dynamic capabilities, I always go with non-domain specific absolute paths (like "/images/frog.jpg")