You can change with this tool: http://interconnectit.com/124/search-and-replace-for-wordpress-databases/ (the same that I have told you in the other answer) all the URLs of images from absolute to relative.