mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24426
[Bug 775257] Re: Require profile icons to be square
If we were going to do this, we'd want to add a JS library to crop the
uploaded image to a square. I've seen other open-source projects that
have a similar bit of functionality, so we should be able to get the
code from one of them.
--
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/775257
Title:
Require profile icons to be square
Status in Mahara ePortfolio:
Triaged
Bug description:
Currently, profile icons in Mahara are not required to have the same
height and width, which means that all we can request about these
images is the maxheight and the maxwidth.
If both were the same, then we could request exact sizes and include
them inside the <img> tags. This could significantly speed up the
rendering of pages that have long lists of users and mitigate the
extra cost of redirecting to and from Gravatar.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/775257/+subscriptions
References