Jetpack_Tiled_Gallery_Four

The Jetpack by WordPress.com Jetpack Tiled Gallery Four class.

Defined (1)

The class is defined in the following location(s).

/modules/tiled-gallery/tiled-gallery/tiled-gallery-shape.php  
  1. class Jetpack_Tiled_Gallery_Four extends Jetpack_Tiled_Gallery_Shape { 
  2. public $shape = array( 1, 1, 1, 1 ); 
  3.  
  4. public function is_possible() { 
  5. return $this->is_not_as_previous() && 
  6. ( $this->sum_ratios( 4 ) < 3.5 && $this->images_left > 5 ) || 
  7. ( $this->sum_ratios( 4 ) < 7 && $this->images_left == 4 ) 
  8. );