|
@@ 79-86 (lines=8) @@
|
| 76 |
|
} |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
class Jetpack_Tiled_Gallery_Two_One extends Jetpack_Tiled_Gallery_Shape { |
| 80 |
|
public $shape = array( 2, 1 ); |
| 81 |
|
|
| 82 |
|
public function is_possible() { |
| 83 |
|
return $this->is_not_as_previous( 3 ) && $this->images_left >= 2 && |
| 84 |
|
$this->images[2]->ratio < 1.6 && $this->images[0]->ratio >= 0.9 && $this->images[0]->ratio < 2.0 && $this->images[1]->ratio >= 0.9 && $this->images[1]->ratio < 2.0; |
| 85 |
|
} |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
class Jetpack_Tiled_Gallery_One_Two extends Jetpack_Tiled_Gallery_Shape { |
| 89 |
|
public $shape = array( 1, 2 ); |
|
@@ 88-95 (lines=8) @@
|
| 85 |
|
} |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
class Jetpack_Tiled_Gallery_One_Two extends Jetpack_Tiled_Gallery_Shape { |
| 89 |
|
public $shape = array( 1, 2 ); |
| 90 |
|
|
| 91 |
|
public function is_possible() { |
| 92 |
|
return $this->is_not_as_previous( 3 ) && $this->images_left >= 2 && |
| 93 |
|
$this->images[0]->ratio < 1.6 && $this->images[1]->ratio >= 0.9 && $this->images[1]->ratio < 2.0 && $this->images[2]->ratio >= 0.9 && $this->images[2]->ratio < 2.0; |
| 94 |
|
} |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
class Jetpack_Tiled_Gallery_One_Three extends Jetpack_Tiled_Gallery_Shape { |
| 98 |
|
public $shape = array( 1, 3 ); |