add support for pageimage plugin