Update GalleryPage_Controller.php

Use config settings in gallery controller, rather than calling getHeight and getWidth