Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -460,7 +460,7 @@ |
461 | 461 | return null; |
462 | 462 | } |
463 | 463 | $extension = $this->getExtension(); |
464 | | - list( $thumbExt, $thumbMime ) = $this->handler->getThumbType( $extension, $this->getMimeType() ); |
| 464 | + list( $thumbExt, $thumbMime ) = $this->handler->getThumbType( $extension, $this->getMimeType(), $params ); |
465 | 465 | $thumbName = $this->handler->makeParamString( $params ) . '-' . $this->getName(); |
466 | 466 | if ( $thumbExt != $extension ) { |
467 | 467 | $thumbName .= ".$thumbExt"; |
Index: trunk/phase3/includes/media/Generic.php |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | * Get the thumbnail extension and MIME type for a given source MIME type |
141 | 141 | * @return array thumbnail extension and MIME type |
142 | 142 | */ |
143 | | - function getThumbType( $ext, $mime ) { |
| 143 | + function getThumbType( $ext, $mime, $params = null ) { |
144 | 144 | return array( $ext, $mime ); |
145 | 145 | } |
146 | 146 | |