Skip to content

Instantly share code, notes, and snippets.

@fuzzmonkey
Created March 12, 2015 16:42
Show Gist options
  • Save fuzzmonkey/a02235d88a7545899a8b to your computer and use it in GitHub Desktop.
Save fuzzmonkey/a02235d88a7545899a8b to your computer and use it in GitHub Desktop.
I have a site (it's a rails app) that pulls some data from a variety of sources. It's pretty slow to generate and the customer wanted to deploy it in a windows environment so...The rails app is exported as a static site (it doesn't change very often) using wget -m (mirror).
- It needs to work in IE8 and the excanvas doesn't seem to support fillText (?)
- They have also some users that download the data images directly (e.g somesite.com/race/1/thingincanvas.jpg) for use on other systems
I figured the easiest way to solve all the problems was to generate the images from canvas and embed those instead of the canvas. As i'd have the image files, i could then easily support the second requirement.
The whole thing is a bit bonkers but customers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment