Extracted from a topic on nopesport:
How to access a RouteGadget map image file
Load up RouteGadget for the event from which you want to extract the map file. View the source code of the RouteGadget page, and locate the line that reads:
where X is some smallish integer. Make a note of the value of X.
Now, the RouteGadget page you are viewing will probably have a URL along the lines of:
http://www.somewebsite.com/somedirectory/cgi-bin/reitti.cgi?act=map&id=N&kieli=
Relative to that, the map image file will normally be located at:
http://www.somewebsite.com/somedirectory/kartat/X.jpg
where X is the X you noted down earlier. The file extension is .jpg even when the map isn’t actually a jpeg.
So what if the route gadget url is like:
http://www.name.routegadget.co.uk/name/reitti.cgi?act=map&id=17&kieli=
How then would you append kartat/X.jpg in the right place in the URL?
It could depend on the routegadget installation, but for routegadget.co.uk kartat is a 1st level directory so
http://www.slow.routegadget.co.uk/kartat/106.jpg
would work for example.