Comment 5 for bug 1468144

Revision history for this message
Aaron Wells (u-aaronw) wrote :

To replicate the gallery block issues:

0. Set your locale to Dutch as described in my previous comment.
1. Log in to Mahara
2. Go to Content -> Files. Create a folder. Put some images in there. Make sure at least one of them is wider than it is tall (i.e., landscape)
3. Go to Portfolio -> Pages. Create a page. Put an "Image gallery" block on the page. Select the folder that you uploaded your images into.
4. Set the "style" for the gallery block to "Thumbnails (square)"
5. View the page

Expected result: The landscape-ratio pictures should show up as thumbnails inside a square box. They should be vertically centered in the middle of the square box.

Actual result: The landscape-ratio thumbnails are floating up against the top of their surrounding box.

In my testing, this bug only affected landscape images, not portrait images.