It's possible to include an encoded image using a data: url, see http://en.wikipedia.org/wiki/Data_URI_scheme (works with firefox, chrome/safari and IE8+)
Laurence On 18 March 2010 10:36, Audun Ytterdal <[email protected]> wrote: > Hi People. > > Nowdays I have a nice errorpage for varnish using syntetic > > This can be triggered by adding ?vcheck=1 to any url > > http://www.vg.no/?vheck=1 for example > > But we want to jazz it up a bit. Adding innline CCS is a start > ofcourse, but it would be really cool if we in some way could add a > few pictures as well > > Is this is some way doable: > > if (req.url ~ "error/img.jpg") { > include "/some_jpg_file_maybeprefixed_with_syntetic.jpg"; > } > > (See you all on VUG2) > > -- > Audun Ytterdal > http://audun.ytterdal.net > > _______________________________________________ > varnish-misc mailing list > [email protected] > http://lists.varnish-cache.org/mailman/listinfo/varnish-misc > _______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
