Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -328,9 +328,9 @@ |
329 | 329 | } else { |
330 | 330 | $params = array( 'page' => $page ); |
331 | 331 | } |
332 | | - $width_orig = $this->displayImg->getWidth(); |
| 332 | + $width_orig = $this->displayImg->getWidth( $page ); |
333 | 333 | $width = $width_orig; |
334 | | - $height_orig = $this->displayImg->getHeight(); |
| 334 | + $height_orig = $this->displayImg->getHeight( $page ); |
335 | 335 | $height = $height_orig; |
336 | 336 | $mime = $this->displayImg->getMimeType(); |
337 | 337 | $showLink = false; |