Remove reduce from image permalinks. Add rotation.
authorMichael Ang <mang@archive.org>
Tue, 27 Jul 2010 01:22:56 +0000 (01:22 +0000)
committerMichael Ang <mang@archive.org>
Tue, 27 Jul 2010 01:22:56 +0000 (01:22 +0000)
BookReaderIA/datanode/BookReaderImages.inc.php

index d2f2208..e8d3877 100644 (file)
@@ -54,12 +54,13 @@ class BookReaderImages
 
     // Keys in the image permalink urls, e.g. http://www.archive.org/download/itemid/page/cover_{keyval}_{keyval}.jpg
     public static $imageUrlKeys = array(
-        'r' => 'reduce',
+        //'r' => 'reduce',
         's' => 'scale',
         'region' => 'region',
         'tile' => 'tile',
         'w' => 'width',
-        'h' => 'height'
+        'h' => 'height',
+        'rotate' => 'rotate'
     );
     
     // Paths to command-line tools