Archive for May, 2009

How to use proxy with Html2Image Liux:

Saturday, May 30th, 2009

Sometimes you may want to use html2image in an enviroment that needs to set proxy.

One of our customers shares his tip on this problem. here it is:

  • Configure the proxy options into ./html2image/greprefs/all.js.

Example below, this is the standard firefox proxy setting

pref(“network.proxy.autoconfig_url”,        “http://myProxy/myScript”);
pref(“network.proxy.type”,                  2);

If you have any comments on this solution, let us know!