canonize url of image: for example "../myImage.jpg" to "http://somehost:someport/context"+"myImage.jpg"