Revert "removed dependence on external image server, everything is now rendered using MathJax"

This reverts commit 9eca37068a99410381c89d2c8fe6aab5cb777e00.