extension to PAGE which handles loading of images