fixes image download URLs (#345, #346)