Revert "scale images with HTML5 canvas"

This reverts commit e1d1c00714e0b5fc77ba29c286c67e3ccba7c3c2.