mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #22778
Re: [Bug 1397005] Re: Image Gallery option "square thumbnails" distorts displayed images when their width and height are not equal.
Details in this Layout may be changed. Feel free to do so.
For my solution I had the following in mind. The image Gallery is a
collection of different visual elements (images).
Displaying the square, as the underlying principle, gives a sort of
regularity or evenness that
(for my eyes) prevents it from beeing ugly.
It is nessasary to provide the description if the user decided so. That
needs some extra space.
Since these descriptions can be quite long they are shrinked to one
line. That may be a problem
but prevents an unpredictable behavior of the layout. I decided to give
some space to the images
simply because it is needed to present the content accordingly. Of
course this can be changed.
Am 01.12.2014 um 05:12 schrieb Aaron Wells:
> To get a better idea of what this patch does, I've attached a screenshot
> showing side-by-side:
>
> 1. The gallery block with the "Thumbnails" setting
>
> 2. The gallery block with the "Thumbnails (square)" setting before this
> patch
>
> 3. The gallery block with the "Thumbnails (square)" setting after this
> patch
>
> You can see that neither "Thumbnails" nor "Thumbnails (square)" works
> particularly well for galleries that have a mix of images of different
> aspect ratios. "Thumbnails" sort of packs them together based on the
> size of the largest image, while "Thumbnails (square)" distorts them all
> into squares. So this new patch is certainly an improvement, scaling
> them all to fit into a square of the same size.
>
> On the other hand, it also seems to put a big frame around the images?
> And if "Show descriptions" is turned on, it shrinks the images extra
> small to make room for the caption underneath them, which I'm not as
> happy about.
>
--
------------------------------------------------------------------------
Holger Manthey
Hochschule für Bildende Künste Braunschweig (HBK)
ZQL
Raum 14/109
Bürozeiten: Mo. - Do. 09:00 - 17:30 Uhr
Tel.: 0531 391 9150
E-Mail: h.manthey@xxxxxxxxx
------------------------------------------------------------------------
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1397005
Title:
Image Gallery option "square thumbnails" distorts displayed images
when their width and height are not equal.
Status in Mahara ePortfolio:
In Progress
Bug description:
When defining an image gallery a user can choose the option "square thumbnails". This results in a Layout that shows the images distorted when their width and height are not equal. In most cases this is not the best result.
Version: 1.10.0, 1.9.3 (approved) and others
I made a quick fix for that by adding a new option that renders the images to fit in the defined square.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1397005/+subscriptions
References