This diff adds thumbhash creation step when uploading photos on web. The approach here is way simpler than on native. This works for both encrypted and non-encrypted media. The canvas code is based on this example code.
In contrast to native, we can use thumbhash npm package to avoid copying their code. Adding @ashoat because of this dependency