Index: trunk/extensions/ImageTagging/ImageTagPage.php |
— | — | @@ -95,8 +95,7 @@ |
96 | 96 | # because of rounding. |
97 | 97 | } |
98 | 98 | |
99 | | - $thumbnail = $this->getFile()->transform(array( 'width' => $width ) , 0 ); |
100 | | - |
| 99 | + $thumbnail = $this->getFile()->transform(array( 'width' => $width ) , 0 ); |
101 | 100 | if ( $thumbnail == null ) { |
102 | 101 | $url = $this->getFile()->getViewURL(); |
103 | 102 | } else { |
Index: trunk/extensions/ImageTagging/ImageTagging_body.php |
— | — | @@ -270,8 +270,7 @@ |
271 | 271 | ''; |
272 | 272 | |
273 | 273 | $s .= ( $i%4 == 0 ) ? '<tr>' : ''; |
274 | | - $thumb = $img->transform(array( 'width' => 120, 'height' => 120 ) , 0 ); |
275 | | - |
| 274 | + $thumb = $img->transform(array( 'width' => 120, 'height' => 120 ) , 0 ); |
276 | 275 | $vpad = floor( ( 150 - $thumb->height ) /2 ) - 2; |
277 | 276 | $s .= '<td><div class="gallerybox">' . '<div class="thumb" style="padding: ' . $vpad . 'px 0;">'; |
278 | 277 | |