Index: trunk/extensions/PagedTiffHandler/PagedTiffHandler.image.php |
— | — | @@ -63,8 +63,8 @@ |
64 | 64 | public static function getPageSize( $data, $page ) { |
65 | 65 | if ( isset( $data['page_data'][$page] ) ) { |
66 | 66 | return array( |
67 | | - 'width' => $data['page_data'][$page]['width'], |
68 | | - 'height' => $data['page_data'][$page]['height'] |
| 67 | + 'width' => intval( $data['page_data'][$page]['width'] ), |
| 68 | + 'height' => intval( $data['page_data'][$page]['height'] ) |
69 | 69 | ); |
70 | 70 | } |
71 | 71 | return false; |