openlayers/openlayers — pull request #126 by tomhughes (2011-12-31 12:23:40+00:00)
Title: Add an interception point to allow image URLs to be rewritten

Make all attempts to get a URL for an image go through a single
routine, OpenLayers.Util.getImageLocation, which is given the actual
image name.

This allows users to replace that routine with an enhanced version
which can rewrite the full URL, for example to go through the rails
asset pipeline when using OpenLayers with rails.