fixes image url from 'tree' to 'raw'