* Add an image to the gallery.
*
* @param $title Title object of the image that is added to the gallery
- * @param $html String: additional HTML text to be shown. The name and size of the image are always shown.
+ * @param $html String: additional HTML text to be shown. The name and size of the image are always shown.
*/
function add( $title, $html='' ) {
if ( $title instanceof File ) {
. htmlspecialchars( $img->getLastError() ) . '</div>';
} else {
$vpad = floor(( 30 + $this->mHeights - $thumb->height ) /2);
-
+
$imageParameters = array(
'desc-link' => true,
'desc-query' => $descQuery
if ( $text == '' ) {
$imageParameters['alt'] = $nt->getText();
}
-
+
# Set both fixed width and height. Otherwise we might have problems
# with the vertical centering of images where height<line-size
$thumbhtml = "\n\t\t\t".
function __construct( $name = 'Mostimages' ) {
parent::__construct( $name );
}
-
+
function isExpensive() { return true; }
function isSyndicated() { return false; }