Just reporting back (maybe others have the same issue):
The problem (tracked down by a combination of the helpful advice above) was the image itemid included in the path. This needed to be the id of the page that had the image (when re-writing the pluginfile) and not the module id that I was previously using.