[New gallery] ignore perrow option in this mode, as doesn't make sense.
authorBrian Wolff <bawolff+wn@gmail.com>
Fri, 23 Aug 2013 23:22:06 +0000 (16:22 -0700)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 23 Aug 2013 23:24:32 +0000 (16:24 -0700)
commit7c4308d62427d61b8b55f20400e5dbeab6dce62d
tree27af092a769e0c81beab6d8f959eab3f7565de35
parent0406652eee147fe859d69217e8df2d9b1413cdca
[New gallery] ignore perrow option in this mode, as doesn't make sense.

gallery in packed resizes images to have same height. Since the images
have dynamic height, its impossible to implement the perrow option
using a width: css rule.

Also fixes the option for the nolines mode, where it calculated
the row length wrong.

Change-Id: I99018e258d3eea93c8203cb0b6bb63bfed1c00b7
includes/gallery/NolinesImageGallery.php
includes/gallery/PackedImageGallery.php