I have imagemagick and rmagick installed so that I can produce images
from code to a file. Can anyone direct me to where I can find
guidance on how to have those images included on a web page (e.g.,
<img src=“my_dynamically_generated_image”) instead of having them sent
to a file? Thanks for any input.
I have imagemagick and rmagick installed so that I can produce images
from code to a file. Can anyone direct me to where I can find
guidance on how to have those images included on a web page (e.g.,
<img src=“my_dynamically_generated_image”) instead of having them sent
to a file? Thanks for any input.
... doug
Take a look at the sparklines gem to see all the goodness, but this
fragment from the generated sparklines_controller should get you
started: