1 | <?php |
||
20 | class ThumbnailService { |
||
21 | |||
22 | /** |
||
23 | * @var bool |
||
24 | */ |
||
25 | private $animatedPreview = false; |
||
26 | /** |
||
27 | * @var bool |
||
28 | */ |
||
29 | private $base64Encode = true; |
||
30 | |||
31 | /** |
||
32 | * Returns thumbnail specs |
||
33 | * |
||
34 | * * Album thumbnails need to be 200x200 and some will be resized by the |
||
35 | * browser to 200x100 or 100x100. |
||
36 | * * Standard thumbnails are 400x200. |
||
37 | * |
||
38 | * @param bool $square |
||
39 | * @param double $scale |
||
40 | * |
||
41 | * @return array<double|boolean> |
||
42 | */ |
||
43 | 5 | public function getThumbnailSpecs($square, $scale) { |
|
55 | |||
56 | } |
||
57 |