Oshine Gallery question.

Does anyone know if its possible when utilizing oshines grid view gallery on masonry style, to instead of having the images match width they match heights? For example if you have an image that is portrait and one next to it is landscape they will default to the same width and have different heights, im just wondering if its possible to reverse that order.