Added convertToAbsolute for absolute paths

Added convertToAbsolute for instances when images are not being relocated to the same directory as the CSS.