Revert "highly experimental replacement of img with canvas" onwards

This reverts commit dd4b48fcd330f850c95a65a9f1e5770a4c954b28.
Revert "sup"

This reverts commit 4c513344bbc828b4b15be5849c5c22effd3469f5.