Now outputs both <canvas> and <img /> versions!