$thumb = $file->transform( 
                         array( 
                                 'width'  => self::THUMBNAIL_CATEGORY_WIDTH,
                                 'height' => self::THUMBNAIL_CATEGORY_HEIGHT 
                         )
                  );
?