Do square thumb images while preserving ratio (Bug #1397005)
I've taken what aceMa provided in bug report and made it a replacement
for the square thumbs option rather than a new option as we don't need
two square thumb options.
I've tweaked it a bit more and hopefully have got the padding/ratio
stuff more consistent and not using hardcoded numbers so much
And getting it to show descriptions/captions below frame
Change-Id: Iafc0ec8a8132d1bef5401b3ebd49e3df013fddc3
Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/4047 gitorious. org/mahara/ mahara/ commit/ a3f12ab16169311 44818bff2bd9681 6110a56cef
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit a3f12ab16169311 44818bff2bd9681 6110a56cef
Author: aceMa <email address hidden>
Date: Mon Dec 1 09:36:29 2014 +1300
Do square thumb images while preserving ratio (Bug #1397005)
I've taken what aceMa provided in bug report and made it a replacement
for the square thumbs option rather than a new option as we don't need
two square thumb options.
I've tweaked it a bit more and hopefully have got the padding/ratio
stuff more consistent and not using hardcoded numbers so much
And getting it to show descriptions/ captions below frame
Change-Id: Iafc0ec8a8132d1 bef5401b3ebd49e 3df013fddc3
Signed-off-by: Robert Lyon <email address hidden>