google cse

      if (isset($result->IMAGE)) {
       $img = array(
         'width' => 'IMAGE_WIDTH',
         'height' => 'IMAGE_HEIGHT',
         'src' => 'IMAGE_SOURCE',
       );
       foreach ($img as $attribute => $element) {
         if (isset($result->IMAGE->$element)) {
           $image[$attribute] = (string)$result->IMAGE->$element;
         }
       }
     }

 

 

-----------------------

Add configurable results-per-page

http://drupal.org/node/921180

-----------------------

你可能感兴趣的:(Google)