- array_merge( array( 'page' ), $joinTables ),
- array( 'img_name' => 'DISTINCT(page_title)' ),
- array( 'page_namespace' => NS_FILE,
- "page_title >= " . $dbr->addQuotes( $lastName ) ),
+ array_merge( array( 'image' ), $joinTables ),
+ array( 'name' => 'img_name' ),
+ array( "img_name > " . $dbr->addQuotes( $lastName ) ),