Public Member Functions | |
| __construct ($galeryService) | |
| getImageURL (Image $sourceImage, array $parameters=[]) | |
| getImageParams (Image $sourceImage, array $parameters=[]) | |
Protected Attributes | |
| $galeryService | |
Slouzi k ziskani informaci o galerii a obrazcich, ktere jsou v ni spravovany
| __construct | ( | $galeryService | ) |
| getImageParams | ( | Image | $sourceImage, |
| array | $parameters = [] |
||
| ) |
vraci url na ktrem se da stahnout resizovany obrazek
| Image | $sourceImage | zdrojovy obrazek |
| array | parametry pro resizovani width = cislo, heigth = cislo nebo type type = ["contain": vleze se do, "cover": da se pokryt] default je contain napr. ["width" => 1234], ["width" => 1234, "type" => "contain"] |
| getImageURL | ( | Image | $sourceImage, |
| array | $parameters = [] |
||
| ) |
vraci url na ktrem se da stahnout resizovany obrazek
| Image | $sourceImage | zdrojovy obrazek |
| array | parametry pro resizovani width = cislo, heigth = cislo nebo type type = ["contain": vleze se do, "cover": da se pokryt] default je contain napr. ["width" => 1234], ["width" => 1234, "type" => "contain"] |
|
protected |