MediaWiki  1.34.0
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 }
NolinesImageGallery
Definition: NolinesImageGallery.php:24
TraditionalImageGallery
Definition: TraditionalImageGallery.php:26
NolinesImageGallery\getVPad
getVPad( $boxHeight, $thumbHeight)
Get vertical padding for a thumbnail.
Definition: NolinesImageGallery.php:34
NolinesImageGallery\getGBBorders
getGBBorders()
Get how much extra space the borders around the image takes up.
Definition: NolinesImageGallery.php:29
NolinesImageGallery\getThumbPadding
getThumbPadding()
How much padding the thumb has between the image and the inner div that contains the border.
Definition: NolinesImageGallery.php:25