BugFix

Fix a problem in the uri:
if the base url is like http://site.com/folder/public/…/
the image url were relative to http://site.com/ and result in a 404 not
found.
Merge pull request #18 from ABeltramo/master

BugFix in url resolve