MediaWiki
REL1_22
|
Protected Member Functions | |
getGBBorders () | |
Get how much extra space the borders around the image takes up. | |
getThumbPadding () | |
How much padding such the thumb have between image and inner div that that contains the border. | |
getVPad ($boxHeight, $thumbHeight) | |
Get vertical padding for a thumbnail. |
Definition at line 24 of file NolinesImageGallery.php.
NolinesImageGallery::getGBBorders | ( | ) | [protected] |
Get how much extra space the borders around the image takes up.
For this mode, it is 2px borders on each side + 2px implied padding on each side from the stylesheet, giving us 2*2+2*2 = 8.
Reimplemented from TraditionalImageGallery.
Definition at line 30 of file NolinesImageGallery.php.
NolinesImageGallery::getThumbPadding | ( | ) | [protected] |
How much padding such the thumb have between image and inner div that that contains the border.
This is both for verical and horizontal padding. (However, it is cut in half in the vertical direction).
Reimplemented from TraditionalImageGallery.
Definition at line 26 of file NolinesImageGallery.php.
NolinesImageGallery::getVPad | ( | $ | boxHeight, |
$ | thumbHeight | ||
) | [protected] |
Get vertical padding for a thumbnail.
Generally this is the total height minus how high the thumb is.
int | $boxHeight | How high we want the box to be. |
int | $thumbHeight | How high the thumbnail is. |
Reimplemented from TraditionalImageGallery.
Definition at line 35 of file NolinesImageGallery.php.