Fix issue #300

Issue with skin generator for image URL rewriting