Fixes base url for images