I have the same problem and I can´t upload an image in to the server to show on my page.
Can you help me please.
It seems I solve the problem.
To upload the image in to the server you need to change the code on the assign value in the 'GetServerURL' to:
Index(GetBookmarkableURL(), "://") + 3)
And it seems that´s is working fine with an image.