formatting urls from imgur