Correcting the URLs to the image resources