If you look in the galleries directory, there are directories for each of the gallery types. If you want to change the height or width of any of the images, you can go into the directory for the gallery type you want changed and then there is a css directory under that which contains the common.css file. This should contain heights and widths for the images that are displayed for that layout.