[Nottingham] Web page graphs/charts
Mike Martin
mike at redtux.org.uk
Tue Nov 29 17:36:41 UTC 2011
On 29 November 2011 17:19, Paul Sladen <notlug at paul.sladen.org> wrote:
> On Tue, 29 Nov 2011, Martin wrote:
>> Rather than posting a fixed-size fixed resolution jpg/png image of
>> a graph plot, is there a way to display graphs/charts that scale
>
> Most browsers render SVG these days. Or failing that:
>
> <a href="big-version.pdf"><img src="small-version.png"/></a>
>
> -Paul
>
>
>
you could also do some javascript detection of browser size and feed
into php/perl and resize on the fly using GD
More information about the Nottingham
mailing list