Jetpack_Tiled_Gallery_Symmetric_Row

The Jetpack by WordPress.com Jetpack Tiled Gallery Symmetric Row 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_Symmetric_Row extends Jetpack_Tiled_Gallery_Shape { 
  2. public $shape = array( 1, 2, 1 ); 
  3.  
  4. public function is_possible() { 
  5. return $this->is_not_as_previous( 5 ) && 
  6. $this->images_left > 3 && 
  7. $this->images_left != 5 && 
  8. $this->image_is_portrait( $this->images[0] ) && 
  9. $this->image_is_landscape( $this->images[1] ) && 
  10. $this->image_is_landscape( $this->images[2] ) && 
  11. $this->image_is_portrait( $this->images[3] );