MediaWiki REL1_40
NolinesImageGallery.php
Go to the documentation of this file.
1<?php
25 protected function getThumbPadding() {
26 return 0;
27 }
28
29 protected function getGBBorders() {
30 // This accounts for extra space between <li> elements.
31 return 4;
32 }
33
34 protected function getVPad( $boxHeight, $thumbHeight ) {
35 return 0;
36 }
37}
getVPad( $boxHeight, $thumbHeight)
Get vertical padding for a thumbnail.
getThumbPadding()
How much padding the thumb has between the image and the inner div that contains the border.
getGBBorders()
Get how much extra space the borders around the image takes up.