The only method I found that works is to resize the image locally and insert it into the document.

Bitbucket ignores other concepts, such as HTML or the width attribute.