Fixes to pixlr plugin to work on localhost