I want to take any url on a page, mainly for the sake of fixing images that aren't displaying, and change it from relative to absolute, if it's relative.
Example:
From <img src="/folder/folder/image.jpg" />
To <img src="http://<?php echo get_option('domain'); ?>/folder/folder/image.jpg" />
Since the domain portion I'll be inserting is a PHP snippet, whichever approach is best for that is more so desired. Thanks.