Had to fix this, see this rev: 76c807a4e7cbf272e3895ba7fd2bab150b7e103a
Needs to be GetRelativePath since the result of split[0] is the url path otherwise the FS will not be able to find the file and the image sizes never get set. Not sure how this affects the azure provider you are using but in theory it should work the same way.